0
votes
2answers
172 views

bash script to create user then create ssh keys

Please note I am a total linux newbie, please bare that in mind when answering this question as I have very limited knowledge of linux. OS: Debian Squeeze I am using ZSH and have created a function ...
0
votes
1answer
966 views

ssh server: could not load host key

I'm configuring ssh server, but have faced an issue. First I generate the private/public rsa keys with: ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key and set password on prompt. Then try to start ...
3
votes
4answers
6k views

How to change a SSH host key?

I cloned a server and so they've the same RSA key fingerprint. It seems to be defined in /etc/ssh/ssh_host_rsa_key.pub. What is the correct way to change that? Thanks.
11
votes
2answers
504 views

What to do when someone logged as root on my server

I have a server running Debian 6.0 with logcheck installed. Yesterday ago, I received this message: Jan 19 19:15:10 hostname sshd[28397]: Authentication tried for root with correct key but not from a ...
3
votes
1answer
100 views

Security issue with ssh on Debian server

I have setup Debian Squeeze on an old laptop to serve as a testbed. I have installed OpenSSH and edited /etc/ssh/sshd_config to use ssh keys and disallow password authentication. I am able, however, ...
5
votes
2answers
2k views

SSH from PuTTy to Debian “authorized_keys is not a regular file” Error

I cannot connect from my Windows 7 computer using PuTTy to a newly configured Debian Squeeze server using SSH RSA key authentication. I get this error when running SSH in debug mode: User myuser ...
0
votes
1answer
600 views

Tool for managing ssh keys in a server cluster

I have couple of Debian servers and currently I am struggling around with adding manually ssh keys to the server's authorized_keys files. Do you know an application which can do this in a nice ...
2
votes
4answers
5k views

How do I configure sshd on Debian to use Public Key Authentication?

I'm working on a (Debian) Dreamhost VPS, and it seems to want password-based authentication only: adding my RSA and DSA public keys to ~/.ssh/authorized_keys did not change the behavior of requiring a ...
2
votes
1answer
1k views

how to automatically mount ~/Private using ecryptfs when logging in via ssh pubkey

Raionale: I want to be able to automatically make backups to a remote machine, which will be encrypted with ecryptfs. The title says it all: I set up ecryptfs-utils on my Debian Squeeze box, and set ...