jkmartha
2005-05-04, 01:33 AM CDT
fedora core - 2
i want to login to a remote server thru ssh using public key authentication. The remote server is on suse. suppose the username on the remote box is "user1" .
# ssh-keygen -t dsa -b 2048
i created one user with same username "user1" in my box.
i used the above command & placed the private key file in /home/user1/.ssh in my machine & placed the public key file in /home/user1/.ssh in remote machine.
now i try to login using
# ssh user1@x.x.x.x where x.x.x.x is the IP add of the remote box.
the reply is
permission denied : public key
Can anyone guide me ????
i want to login to a remote server thru ssh using public key authentication. The remote server is on suse. suppose the username on the remote box is "user1" .
# ssh-keygen -t dsa -b 2048
i created one user with same username "user1" in my box.
i used the above command & placed the private key file in /home/user1/.ssh in my machine & placed the public key file in /home/user1/.ssh in remote machine.
now i try to login using
# ssh user1@x.x.x.x where x.x.x.x is the IP add of the remote box.
the reply is
permission denied : public key
Can anyone guide me ????