133
October 23rd, 2010, 09:36 PM
Hi guys,
I setup this ssh with PasswordAuthentication no on my ubuntu 10.04, I have this problem that ssh login from another machine only work after login to UI first.
Steps:
1. Login to UI and setup ssh with PasswordAuthentication no.
2. Test it from another machine - it works.
3. Reboot the machine (ssh server) without login to UI, try ssh login from another machine - it failed with Permission denied (publickey).
4. Login to UI and try ssh login from another machine - it works again.
So why is that I have to login to the machine first before I can ssh login from another machine? it doesnt make sense.
Can anyone help?
Cheers
133
I setup this ssh with PasswordAuthentication no on my ubuntu 10.04, I have this problem that ssh login from another machine only work after login to UI first.
Steps:
1. Login to UI and setup ssh with PasswordAuthentication no.
2. Test it from another machine - it works.
3. Reboot the machine (ssh server) without login to UI, try ssh login from another machine - it failed with Permission denied (publickey).
4. Login to UI and try ssh login from another machine - it works again.
So why is that I have to login to the machine first before I can ssh login from another machine? it doesnt make sense.
Can anyone help?
Cheers
133