$ ssh-keygen -t rsa -f identity
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in identity.
Your public key has been saved in identity.pub.
The key fingerprint is:
be:fe:1b:cc:ec:21:6b:d5:4d:db:75:00:99:92:8f:2d sss@server1
$ ls -l
total 16
-rw------- 1 sss staff 1675 Dec 05 13:21 identity
-rw-r--r-- 1 sss staff 397 Dec 05 13:21 identity.pub
Have you put the public key in $HOME/.ssh/authorized_keys of the server you are trying to connect to?
In AIX side, I only have
$ ls -l
total 16
-rw------- 1 sss staff 1675 Dec 05 13:21 identity
-rw-r--r-- 1 sss staff 397 Dec 05 13:21 identity.pub
after run the command:
$ ssh-keygen -t rsa -f identity
where the "$HOME/.ssh/authorized_keys"? In Windows or AIX?
I want to ssh without password from windows to AIX. So, I create the private/public key on AIX side?
1. create public and private key on AIX - just as you have.
2. add the public key to $HOME/.ssh/authorized_keys on the AIX box.
3. ensure the keys and authorized_keys are -rw-------
4. transfer the private key to windows - just like you have
5. use puttygen to create a putty type key identity.ppk - just like you have
So you are nearly there, but the server does *nothing* with identity and identity.pub, they are ignored. It is only interested in $HOME/.ssh/authorized_keys. Similarly the ssh client on AIX is only interested in (a) $HOME/.ssh/identity and (b) $HOME/.ssh/known_hosts.
Hi, i checked on rhel VPS is running sshd
(service ssh status)
But i cant connect via putty: "Network error: Connection refused"
Please which log file in my centos rhel linux i need to watch or what are steps to do to discover cause? (3 Replies)
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Greetings!
I am trying to perform a passwordless SSH login from a HPUX 11.31 client to a HPUX 11.31 server. Whenever I do a "ssh -l root serverA" from the client, I am prompted for a password. Giving the password, I am able to successfully login. However I am trying to accomplish a... (9 Replies)
Hello,
Using AIX 6.1 boxes.
User user1 connects from box A to box B using ssh.
When password authentication is used everything is fine. When I configure user1 to use public key authentication sftp client works fine(no password asked), but ssh client fails. This is sshd log:
Accepted publickey... (3 Replies)
Hello!
Sorry, for my not so perfect english!
I want to stop bash shell script execution until any key is pressed.
This line in a bash shell script
read -n1 -r -p "Press any key to continue..." key
produces this error
When I run this from the command line
usera@lynx:~$ read... (4 Replies)
Hi All,
I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations:
1. I am restrained to 2 input files only.
2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
While trying to upgrade ssh from v4.7 to v5.0 on AIX 5.3 TL9, I end up with the following error.
Has anyone come across this?
Note: openssl has been upgraded to 0.9.8.840 before this upgrade
Bala (0 Replies)
Hello Friends,
When i trying to transfer a huge amount of files via FTP to a HP-Unx server, I am getting an error "Connection Refused"...!
How can i avoid this error.
Regards,
Prakash K:b: (4 Replies)