totally stuck trying to SSHing remote server
Posted
by
user9609
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user9609
Published on 2011-02-08T15:20:55Z
Indexed on
2011/02/08
15:34 UTC
Read the original article
Hit count: 223
Hey guys,
So i've been given access to ssh a server. I have the username/password, but server apparently requires a public key (now bear in mind that i am a noob in ssh). When I do:
ssh -p 52 [email protected]
terminal says Permission denied (publickey)
. So I went using
ssh-keygen -t rsa
and got myself the id_rsa
and id_rsa.pub files
in /root/.ssh
. Chmoded /root/.ssh
to 700 and /root/.ssh/*
to 600. Tried sshing server.com again, same error.
What am I missing? I've been given a Putty Pagant Key file (.ppk) by the SYSADMIN of server.com. Apparently, other users (all Windows) can connect using Putty Pagant.exe. Please help :)
© Ask Ubuntu or respective owner