Configuring ssh after a Synaptic install? - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Debian (https://www.linux-noob.com/forums/forum-97.html) +--- Thread: Configuring ssh after a Synaptic install? (/thread-882.html) |
Configuring ssh after a Synaptic install? - websmythe - 2008-08-04 ------------- RESOLVED ------------- Hi. I running on Debian 4, installed the openssh-server /w the blacklist & rssh & molly-guard using Synaptic Package Manager, but can't connect using PuTTY from my Vista box. Could somebody show me what I need to enable in the config files (see below) to get it to work? Thanx. The story so far... I've read the man pages, which seem pretty daunting at this point, and been trawling the net, where I've found lots of juicy tidbits, but nothing that walks me thru it line by line. It's not PuTTY cause I had it working last nite when I did a commandline install using "apt-get install ssh", but I also got some sort of legacy message. As I've done a reinstall since then, I thought I'd try and avoid the legacy issue and use Synaptic. From what I have found on the net, all the needed files "seem" to be in the right place, but it looks like there's a bunch of stuff that is commented out that shouldn't be (I think...) Code: # /etc/ssh/sshd_config Code: # /etc/ssh/ssh_config Configuring ssh after a Synaptic install? - websmythe - 2008-08-05 k, we are officially one giant leap closer. Yeah! I remembered that last night I was going through http://www.howtoforge.com/perfect_setup_debian_etch_p3 which starts a Debian 4 install from scratch. And in Section 5 - page 3, right after installing openssh-server, he sets the machine ip from the default install dhcp assigned address to a static address, and sets the hostname. -------------------------------------------------------------------- UPDATE: PuTTY now connects from my Vista box. Unfortunately, it says... "Network Error: Connection Refused" But Hey! Almost home. UPDATE: I thought I try un-commenting all the lines in ssh_config *** YEAH!!! : SUCCESS!!! *** UPDATE: Musta been something I did or didnt do. After a resinstall (again :)), using Synaptic and going thru the config made it work perfect. And I didn't edit ssh_config or sshd_config. Go figure. Must be a Noob's world. Anyways, any comments, re: things I'm not aware off, and/or things I should tweak, especially re: Security, would be most appreciated. Thanx for reading this far :) Configuring ssh after a Synaptic install? - anyweb - 2008-08-05 i'd start reading the Remote Access section of linux-noob.com things to think about would be * deny ssh login to root * ssh rate limiting * users allowed/denied and more, just check out the Remote Access section for tips with ssh (and scp and so on) be aware that you need to restart the sshd service after making changes to the config file cheers anyweb |