Results 1 to 2 of 2
Hi,
I am by no means an experienced Linux user, I am however trying to set up an OpenSSH server on Ubuntu 9.04.
I seem to have it working using ...
- 09-07-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 1
OpenSSH Stops Listening after first client
Hi,
I am by no means an experienced Linux user, I am however trying to set up an OpenSSH server on Ubuntu 9.04.
I seem to have it working using publickeys, my only problem is that the server seems to stop listening for connections when the first session ends and i get this from the terminal:
I then need to run this line to get it to start listening again.Code:ssh: connect to host <IP ADDRESS> port 22: Connection refused
Can someone tell me how i can have it running all the time?Code:/usr/sbin/sshd -f /home/zeb/sshd_config
Any help here appreciated,
Zeb
- 09-08-2009 #2
You can actually put a logout script.
Eg., If its a bash shell, you can use a file .bash_logout which you need to create in the home directory of the user u use to connect the remote machine
.bash_logout and .logout: Leaving linux/UNIX


Reply With Quote