1
vote
1answer
147 views

Login via ssh without password, getting authorized_keys file removed after first login attempt

I'm trying to configure passwordless login via ssh. I have Centos 6.5 This what I did: copied content of id_rsa.pub from my client machine to ~/.ssh/authorized_keys set permissions 700 to ~/.ssh and ...
2
votes
1answer
33 views

Accept any private key for authentication

Is it possible to configure OpenSSH (or any other standard sshd) to accept any key offered by a connecting client? EG ssh -i ~/arbitraryKey hostname grants a login shell while ssh hostanme doesn't. ...
3
votes
1answer
489 views

Public-Key Authentication w/ Jailed SFTP User

I'm trying to set up a jailed SFTP user account on my own local machine to test an application with libcurl. I used this guide to help me figure out how to set up a jailed SFTP user: ...
3
votes
1answer
3k views

SSH publickey works for root but not user [duplicate]

Possible Duplicate: Why am I still getting a password prompt with ssh with public key authentication? I'm setting up a remote server. The sshd is configured to use publickey only. There ...
2
votes
3answers
1k views

Use SSH key authentification with custom user $HOME

I have some users which have different $HOME directories than /home/... The user homes are under /pkg/homeand /pkg owner is a different user but all users have group access to /pkg. But it seems ...