Results 1 to 7 of 7
I have installed Debian Lenny 5 and am trying to access the server via SSH port 22 but it keeps telling me : Connection refused
Any ideas how to enable ...
- 04-12-2010 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 1
SSH on Debian 5.0
I have installed Debian Lenny 5 and am trying to access the server via SSH port 22 but it keeps telling me : Connection refused
Any ideas how to enable this SSH on Debian server for connections ???
- 04-12-2010 #2
did you install ssh package yet?
can you ping machine?
- 04-12-2010 #3
maybe something like:
/etc/rc.d/init.d/sshd startlinux user # 503963
- 04-19-2010 #4Just Joined!
- Join Date
- Jan 2008
- Posts
- 53
- 05-04-2010 #5Just Joined!
- Join Date
- May 2010
- Location
- San Diego / Tijuana
- Posts
- 4
"apt-get install $package-name"
Where "$package-name" could be ssh
aptitude install ssh
Debian meta-package ssh includes both openssh-client and openssh-server. Also make sure your firewall (iptables, bastille, etc) isn't blocking the port.
- 05-08-2010 #6Just Joined!
- Join Date
- May 2010
- Posts
- 5
You can also try:
netstat -tulpn and see if anything is bound to port 22. If there is it is probably ssh server running.
- 05-08-2010 #7
To install SSH server you need to run the following command as root:
You should then be able to SSH into the serverCode:apt-get install openssh-server
Linux User #453176


Reply With Quote

