A network protocol that allows data to be exchanged using a secure channel between two networked devices
Questions tagged [ssh]
892 questions
804
votes
7 answers
How can I permanently add my SSH private key to Keychain so it is automatically available to ssh?
It seems that ssh-add -K ~/.ssh/id_rsa will load your key but will ask for the password each time you reboot.
I am looking for a solution that would not require me to re-enter the key password between logins.
sorin
- 28,475
- 65
- 162
- 235
225
votes
11 answers
macOS Sierra doesn’t seem to remember SSH keys between reboots
I have to run this command since upgrading to macOS:
ssh-add -K
Corrects the problem after the reboot but I have to run this command every time I log on to my computer.
If I do not run the command above, my keys in ~/.ssh are skipped and I am being…
misaligar
- 2,437
- 4
- 10
- 9
172
votes
7 answers
What can I do when my SSH session is stuck?
Sometimes my ssh session in the terminal hangs. How can I exit the ssh session and reconnect?
Kit Sunde
- 3,009
- 7
- 27
- 33
157
votes
7 answers
How can I prevent an SSH session from hanging in OS X Terminal?
When I close my MacBook with an active SSH session in Terminal and then wake it up, the prompt goes unresponsive.
In about five minutes it says
Write failed: Broken pipe
and terminates.
This also happens when I don't type anything in the Terminal…
Dan
- 4,878
- 12
- 40
- 58
128
votes
14 answers
What's a good graphical SFTP utility for OS X?
I need a small graphical utility, using which I can ssh to a server and see all the files and copy and paste (drag and drop) into my local machine.
I am running Snow Leopard.
xyz
- 3,833
- 9
- 26
- 25
126
votes
12 answers
How can I mount SFTP/SSH in Finder on OS X Snow Leopard?
My Question is seemingly simple. I need to mount an SSH/SFTP volume and make it visible in finder to be able to use it as if it were a local volume (think SMB share). I have tried everything I could find (MacFUSE + sshfs (whatever version),…
Ous
80
votes
12 answers
Is there a GUI SSH client for OS X?
I know that SSH from the command line is easy enough, but would like to give my students that use OS X a GUI option.
Is there a PuTTY equivalent for the Mac?
Eric Wilson
- 1,124
- 2
- 8
- 16
80
votes
2 answers
How to enable OS X screen sharing (VNC) through SSH?
I forgot to turn on "VNC viewers may control screen with password",
to enter on my working Mac,
is there way to turn-on this feature remotely via SSH (I'm on WindowsXP now)?
StNickolay
- 901
- 1
- 5
- 5
80
votes
15 answers
What's a good SSH tunneling client for OS X?
I've been using SSH Tunnel manager to easily set up and stop port tunneling over SSH to various servers at my company. That saved me the pain of opening up a new terminal window which will hang out there just for the sake of having a tunnel…
Boaz
- 1,033
- 2
- 9
- 7
71
votes
19 answers
Password dialog appears when SSH private key permissions are set to 0600
I installed my SSH private key in ~/.ssh/id_rsa and set its permissions to 0600. When I connect to an SSH server which uses my private key in Terminal.app via ssh, a dialog pops up and asks me to enter my password to access the id_rsa file:
I see…
titaniumdecoy
- 1,031
- 1
- 10
- 17
50
votes
8 answers
Tab completion for hosts defined in ~/.ssh/config doesn't work anymore on Yosemite
I'm trying to create my ~/.ssh/config file for simplify my work life on the server connection.
In Mavericks all worked properly and with the tab I was be able to autocomplete the hostname with file like this:
Host test-host-name
HostName…
RikyTres
- 741
- 1
- 5
- 7
47
votes
2 answers
Set iTerm2 as the ssh:// URL handler
Currently, Terminal is set to handle SSH urls. For example, if I do:
$ open ssh://machine.example.com
Then it will spawn a new SSH session in terminal. I'd like these to be opened in iTerm2 instead. How do I tell macOS to use iTerm2 to handle…
Lorin Hochstein
- 2,074
- 6
- 26
- 35
38
votes
5 answers
How to SSH in one line
How would I connect to another computer through SSH in one line? If I were to do ssh host@IP, it would require me to enter the password in the second line. I was thinking that I could do something like this: ssh host@IP | echo password, but that…
Ben A.
- 551
- 1
- 5
- 10
37
votes
6 answers
OSX ssh-agent: no password pasting, and problem with PKCS#8?
I use ssh on my machine, and have set up a long not-human-friendly passphrase which is saved in my password manager.
What makes me crazy every time is that I cannot paste into the window pictured below. I know the Remember password in my keychain…
joni
- 623
- 1
- 5
- 13
34
votes
10 answers
PuTTY Equivalent for Mac
Is there a good PuTTY (free telnet / ssh client) equivalent for OS X?
I know that I can just use terminal and an ssh command, but I want some sort of application that will store connection info, passwords, logs, etc for me, much like PuTTY.
Does…
Steve Robbins
- 1,873
- 4
- 15
- 17