Skip to main content

Questions tagged [ssh]

Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

1184 votes
25 answers
1.5m views

ssh has the -i option to tell which private key file to use when authenticating: -i identity_fileSelects a file from which the identity (private key) for RSA or DSA authentication is read.  The ...
jrdioko's user avatar
  • 13.2k
776 votes
16 answers
347k views

It used to remember the passphrase, but now it's asking it to me each time. I've read that I need to regenerate the public key with this command, which I did: ssh-keygen -y -f id_rsa > id_rsa.pub ...
erwan's user avatar
  • 7,881
527 votes
16 answers
865k views

I'm trying to setup password-less SSH on an Ubuntu server with ssh-copy-id myuser@myserver, but I'm getting the error: Warning: the ECDSA host key for 'myserver' differs from the key for the IP ...
Cerin's user avatar
  • 9,740
495 votes
18 answers
1.0m views

I've OpenSSH 7.6 installed in Windows 7 for testing purposes. SSH client & server work just fine till I tried to access one of my AWS EC2 box from this windows. It seems like I need to change the ...
Sabrina's user avatar
  • 5,773
494 votes
4 answers
184k views

When you generate a key, you get "randomart" from newer versions of OpenSSH. I am unable to find an explanation of why, and what I'm supposed to use it for. Generating public/private rsa key pair. ...
dlamblin's user avatar
  • 11.1k
485 votes
18 answers
510k views

Tunneling data over SSH is pretty straight-forward: ssh -D9999 [email protected] sets up port 9999 on your localhost as a tunnel to example.com, but I have a more specific need: I am working ...
Mala's user avatar
  • 7,504
465 votes
7 answers
1.4m views

I’m connecting to a server via SSH to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and I write the message and send it I can’t ...
Andreea's user avatar
  • 4,761
370 votes
19 answers
350k views

I use an SSH tunnel from work to go around various idiotic firewalls (it's ok with my boss :)). The problem is, after a while the SSH connection usually hangs, and the tunnel is broken. If I could at ...
Peltier's user avatar
  • 6,534
336 votes
9 answers
598k views

I always find that I get this message when I ssh into a new machine: 12:f8:7e:78:61:b4:bf:e2:de:24:15:96:4e:d4:72:53 What does it stand for? Will every machine have the same fingerprint every time? ...
Kit Ho's user avatar
  • 5,657
328 votes
11 answers
1.1m views

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...
Adam Matan's user avatar
  • 8,830
308 votes
15 answers
383k views

I have a hostgator account with ssh access enabled. When trying to upload the generated .pub key file with this command: rsync -av -e "ssh -p2222" /home/user/.ssh/key.pub [email protected]:.ssh/...
Gabriel's user avatar
  • 3,715
267 votes
12 answers
167k views

In case it matters: OS: Ubuntu 10.04 SSH: OpenSSH_5.3p1 Debian-3ubuntu5 I'd like one SSH config file to include another one. The use case would be to define whatever I want in my default .ssh/config ...
Joe Casadonte's user avatar
262 votes
10 answers
327k views

I get the following prompt everytime I try to connect a server using SSH. I type "yes", but is there a way to aovid this? The authenticity of host '111.222.333.444 (111.222.333.444)' can't be ...
shantanuo's user avatar
  • 2,923
260 votes
5 answers
505k views

I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux? Is this possible ?
marioosh's user avatar
  • 3,671
255 votes
8 answers
194k views

When I connect via ssh to certain servers, it timeouts and "freezes" the terminal (doesn't accept input, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's ...
Kzqai's user avatar
  • 2,888

15 30 50 per page
1
2 3 4 5
724