A network protocol that allows data to be exchanged using a secure channel between two networked devices

learn more… | top users | synonyms

0
votes
1answer
69 views

Yosemite 10.10.1 - ssh - no connection (time-out) and strange redirect

I hope I can get some help with a rather strange problem on my late 2013 MacBookPro running Yosemite 10.10.1 Up until 3 days ago, I could ssh into my server without any problems. I then updated to ...
0
votes
1answer
27 views

SSH with ipv6 working only if I pass %en0 with my ipv6 address

I am trying to ssh with Mac OS X (10.10.1 Yosemite) terminal using ipv6. If I use command like ssh username@ipv6_address It's not working and I am getting error "No Route to Host". But If I use ...
0
votes
1answer
32 views

SSH using IPV6 getting error “No Route to Host” On My Mac Machine

I am trying to ssh with ipv6 in my mac machine but I am getting error "No Route to Host". I can it successfully with ipv4. Can anyone guide me please if it require any network setting or else? I am ...
1
vote
1answer
30 views

Windows Putty connect to OSX SSH Server with SSH key

Could someone guide me to setting up OSX (10.10 Yosemite) so that I can ssh from Windows using putty to Mac, but using ssh key rather than password. On the Mac I've enabled remote-login under sharing ...
0
votes
1answer
31 views

How to set environment variable in Yosemite for local ssh sessions

I'm having a problem with Yosemite, it won't set the environment variables when doing: ssh localhost env | grep myvar no sign of myvar. I've managed to get Yosemite to set the environment variables ...
0
votes
1answer
19 views

How can I automate port forwarding?

Is there a way in which I can automate port forwarding on the mac? I want to forward a computer to port 22, and my purpose of doing is so I can ssh from a remote location, making ssh easier. If so, ...
2
votes
0answers
35 views

ssh asks for passphrase not keychain password after locking keychain

I'm using Yosemite and store the ssh passphrase in a separate keychain (not the login keychain). This all works fine as long as the keychain is unlocked. When I lock the keychain, I expected ssh to ...
1
vote
1answer
58 views

How do I make passphrase prompts for ssh keys appear in the terminal, not as a graphical prompt?

I'm SSHing into my mac and doing some stuff remotely through tmux (namely uploading some stuff to github). When I just tried to run a git push, my command kept stalling silently. I found ssh stalling ...
1
vote
1answer
24 views

Recommendation for a gui scp client

I'm looking for a recommendation for a GUI SCP client that supports private keys. All of the ones I find don't support private keys. Thanks
1
vote
0answers
45 views

Connecting Raspberry Pi to iPhone HotSpot and using SSH

I am trying to connect my Raspberry Pi to my iPhone 5 with iOS 8 HotSpot. This works so far without problems, but when I try to connect to it with SSH, the connection always times out. I tried ...
1
vote
1answer
150 views

Unable to use SSH/Microsoft Remote Desktop after Yosemite update

So I have been trying to log onto a virtual machine (a linux server for my school). I have Remote Login enabled, and it worked perfectly prior to the update. Now when I try to use ssh, it just does ...
4
votes
2answers
134 views

How can I get 256 colors on the default Terminal over SSH?

Lots of similar questions, but I can't quite seem to find anything that is an exact match. I am using the default Terminal (in Yosemite) to SSH into a VM. The VM's terminal is set up to use ...
0
votes
1answer
46 views

Terminal: command overridden via shell script in /usr/local/bin not executed unless called directly

I've created a shell script wrapping ssh to change my terminal background when connecting to a server following one of the many examples on this site and stackexchange. 11:22 ~ $ echo $PATH ...
0
votes
2answers
897 views

Can't establish a ssh connection to my Mac OSX Yosemite

I'm having a ssh_exchange_identification: Connection closed by remote host error when trying to ssh into my mac, from a linux VM if I try with the verbose option I get this ssh ...
1
vote
1answer
58 views

Setting up a git (ssh) server using OS X Server

I would like to use OS X Server to set up a git server that I can ssh into from other machines on my network. I realize that Xcode Service has repository functionality built in, but I am looking for ...
2
votes
2answers
62 views

Auto-Update Script

I'm trying to get the Macs at my workplace all updating at a specific time. To do so, I'm running a bash script from a spare Macbook running OS X Server. I have one minor and one big issue with my ...
1
vote
0answers
37 views

SSH Public key access - my password is being stored somewhere?

I've just created a Public/Private key to access my server via SSH, this has all worked fine but I added a passphrase to the key when it was created. The first time I logged in via terminal and ...
2
votes
0answers
17 views

How should one correctly copy public and private keys from one mac to another?

I am aware of solution for linux here. How should one correctly copy public and private keys from one mac to another?
1
vote
0answers
115 views

10.9.5 mac pro - cannot ssh out

I cannot ssh to any server. ssh -vvv joe@ip OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/joe/.ssh/config debug1: Reading configuration data /etc/ssh_config ...
2
votes
0answers
42 views

SSH to device via USB

When I try to SSH over USB to my device running linux, I get "ssh: connect to host 10.90.1.2 port 22: Network is unreachable" Mind you, I can run the same command "ssh root@10.90.1.2" on my linux ...
4
votes
1answer
90 views

ShellShock: Do I need to be worried about this on OS X Mavericks?

The title kind of says it all… I was in the process of bringing up a rather extensive set of Mac OS X Server machines when ShellShocked hit the world. As soon as I saw the news, I hastily began ...
0
votes
0answers
30 views

Play sound on jailbroken device

I like to play a sound using bash (ssh) on a jailbroken device. I'd like to use open or afplay but those commands seem not to be installed neither in iOS nor in Cydia. How can I play a sound on my ...
0
votes
0answers
12 views

Is there a way to set up a public/private key login in Terminal Remote Connection?

I have to log into a few different droplets on Digital Ocean and the Terminal Remote Connection app seems like a simple way to do it but it doesn't offer (an obvious) way to save the private key with ...
3
votes
1answer
55 views

Using mosh with Back to my Mac

How can I use mosh via iClouds Back to my Mac, like I can do it with ssh?
0
votes
1answer
40 views

Can I turn a bad video card iMac g5 into headless server?

I have an iMac G5 that won't display anything because (I believe) the video card is malfunctioning. Could the machine still be functional as a headless server? I could modify the settings with a ...
1
vote
1answer
22 views

Can a SSH session be wrapped to appear as a distinct App?

Fluid can create a .app wrapper around a webkit instance to turn any web page into an OSX Application. This script can do a less thorough job with Chrome. Is there anything that can do this for a ssh ...
1
vote
0answers
88 views

How can I install veency over SSH?

How can I install veency over SSH? I've tried downloading the .deb from apt.saurik.com (veency_0.9.3402_iphoneos-arm.deb), then using dpkg -i veency_0.9.3402_iphoneos-arm.deb to install the package, ...
1
vote
1answer
76 views

Cannot SSH from OS X Mavericks to Solaris server

Well, this is embarrassing. It was a case sensitive issue. Prior to posting the -v output on this site, and probably due to looking at this problem for too long, I forgot the fundamental rule of case ...
0
votes
0answers
23 views

Adding a remote printer via ssh

I am trying to print to a remote printer via ssh port forwarding. On the remote server to which the printer is connected, CUPS runs on port 631. I use ssh to connect to the remote server like below ...
0
votes
0answers
49 views

Mac ssh-agent not being started automatically by launchd

A few days ago on my Mac running Mavericks (MacOS X 10.9.4) I noticed that any operations using ssh started to ask me for my ssh passphrase. If you look at... ...
1
vote
1answer
58 views

Change default ssh:// behavior

Currently, the protocol handler ssh:// opens the link in a new Terminal.app window. I'd like to default it so it opens it in a new tab instead. How can I change this behavior? Backstory: I use Alfred ...
1
vote
1answer
84 views

SSH to a remote station without port forwarding on my mac

I would like to SSH onto a remote linux computer from the internet at school, which does not support port forwarding. I type ssh root@<myipadresshere.com but of course it fails. Is there a way ...
1
vote
1answer
168 views

Connecting to EC2 Amazon using iTerm and .pub-file

How can I setup my iTerm to connect my amazon server using the .pem file I have been given. When I try ssh PUBLIC-DNS it returns Permission denied (publickey).. EDIT I have now tried the following ...
0
votes
1answer
110 views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
1
vote
1answer
62 views

Apt-get install tomcat7

I am currently running Mavericks. I have a Drupal7 Virtual Machine running (on VirtualBox). I am trying to install a tomcat7 server onto the VM. I have used the Terminal to SSH and login to my Drupal7 ...
0
votes
0answers
38 views

Bootstrap context issues when logging in via ssh with private key

I use ssh to connect to my laptop remotely. Recently, I decided to improve security by using a private key to authenticate instead of a password. I am able to connect and login with my user account, ...
1
vote
1answer
74 views

Using the builtin dialog under OSX to unlock an SSH key

OSX has a builtin passphrase dialog for ssh-agent, so that on the first use of a key, it'll get cached. The problem is -- I can't find a way to spawn that dialog by just adding ssh-add. ssh-add will ...
1
vote
1answer
69 views

Can connect over SSH from Mac to linux

I have an Xubuntu server set up with SSH. I can connect to it using Putty on Windows and via a Chrome SSH plugin on my Mac. However, when I use terminal client it just hangs for a bit and then I get a ...
1
vote
2answers
34 views

Disable network device for specified period of time

Recently I converted an old MacBook into a server, running OS X 10.6.8 (the normal, non-server edition). I use it as my VPN server, my bittorrent rsync server, web server, ssh server and so forth. ...
1
vote
2answers
40 views

Closing other tabs in terminal on Mac?

I am using iTerm2, but I wouldn't mind switching back to the original terminal for just this feature. I open hundreds of SSH tabs every day and often end up working after a while only working on 1 ...
2
votes
1answer
16 views

Enable/Disable Sharing (SSH/File) Based on Network?

Is it possible to enable and disable the Sharing features (ssh, file sharing, etc) based on the current network? For example, I want file sharing and SSH to be enabled on my trusted home network. ...
0
votes
0answers
74 views

Unable to use ssh to log into any linux server

Use /usr/bin/ssh -v SERVER to login, here is the output: OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/hong/.ssh/config debug1: /Users/hong/.ssh/config line 1: ...
1
vote
0answers
62 views

SSH SFTP and Mounting File Shares

Quick question: I know how to mount an SFTP connection in Finder using Transmit, but, at least in my setup, it only mounts the subdirectories in the User's folder (i.e., Desktop, Documents, etc.). ...
1
vote
1answer
202 views

auto start an ios app

I want an app(specifically Ip Messanger for iOs) to start on startup in my ipad ios 7.1.1. I saw this 3 years old source in github and write the following .plist file. <?xml version="1.0" ...
2
votes
1answer
62 views

How to control UI/Apps from shell?

I have a jailbroken ipad (ios v. 7.1.1) and installed ssh, terminal and many admin tools. So far I am able to open/close an app from terminal and so much more... . Now I want to trigger UI events and ...
0
votes
0answers
21 views

Port Forwarding to VM with built-in pfctl

I try to port forward specific ports ( 8000 for example ) from my Router to my Server and then to my VM which actually uses this port. Currently I'm tunneling the traffic through ssh-connections ...
0
votes
0answers
38 views

Cannot copy app data to another directory over ssh

(in my Jailbroken ipad, ios7.1.1) I am getting cp: cannot open 'xxx.xx' for reading: Operation not permitted error when trying to copy file from an App Documents directory to my /var/root/Documents ...
0
votes
0answers
47 views

ssh without Safari streaming: “Write failed: Broken pipe”

I use the standard ssh binary on OS X 10.9 on a mid-2013 MacBook Air 11". It looks like OS X goes into some kind of sleep mode all the time, and when I wake it up a dozen of minutes afterwards, I ...
5
votes
1answer
192 views

How to use Terminal to send Keystrokes?

Is there a way for Terminal to simulate pressing multiple keys at once? For example, Shift + Ctrl + R? I am ssh into OS X from a windows client (PuTTY) and am wondering if I need to configure the ...
0
votes
1answer
39 views

How to choose which connection to use for SSH

I have an ethernet connection which is restricted for a lot of ports (the most annyoing is port 22 -ssh- ). I now have a Wifi connection which is unrestricted. I want to tell to my mac, each time i ...