|
Geek Forums
 |
|
|
Sshd in dreamlinux
| geek_seriouslycgi |
July 25, 2010, 12:12 pm |
|
|
#1 | i cant find any documentation but sshd wont launch at startup, and even when i launch it manually on the machine i cant connect.
its so much easier on arch theres two files to manually edit after you install the package. i though dreamlinux ( debian lenny ) would configure it all automatically but it seems not to be the case.
anyone have experience with setting up sshd manually in debian?
where is the init. d config? where is hosts_allow?
i dont think there is a firewall installed but i may have to install one to open up the ports.
any advice appreciated (except install windows cos that would be a step down) | |
|
| geek_badcam |
July 25, 2010, 12:23 pm |
|
|
#2 | Have you tried:
sudo /etc/init. d/ssh restart |
| geek_seriouslycgi |
July 25, 2010, 12:27 pm |
|
|
#3 | | yeah i can get it started, but it refuses connection from outside, and i need it to launch at startup. might have to change distro the documentation is very poor and the forums are locked up like fort knox |
| geek_badcam |
July 25, 2010, 12:38 pm |
|
|
#4 | I presume you've opened a port in /etc/ssh/ssh_config
(This is a Gn00be talking to an advanced user, so sorry if I'm stating the obvious. Just trying to see if anything helps) |
| geek_jcmp21 |
July 25, 2010, 12:45 pm |
|
|
#5 | | you mean /etc/ssh/sshd_config? |
| geek_badcam |
July 25, 2010, 12:47 pm |
|
|
#6 | | I do now [EDIT]. I was thinking he was trying to get access to the already set up server. A check either way wouldn't hurt. Thanks. |
| geek_badcam |
July 25, 2010, 12:48 pm |
|
|
#7 | ps -A | grep sshd
will tell you if it's running. |
| geek_badcam |
July 25, 2010, 12:51 pm |
|
|
#8 | sudo netstat --inet -lpn | grep sshd
Then that will tell you what port it's listening for. |
| geek_0800xford |
July 25, 2010, 12:51 pm |
|
|
#9 | | give it up noobs! |
| geek_jcmp21 |
July 25, 2010, 12:52 pm |
|
|
#10 | Doing an nmap on the target machine may tell you the ports visible perhaps.
What error does it give when you try it? . Like a this type of login is not allowed or something like that? . |
| geek_seriouslycgi |
July 25, 2010, 12:54 pm |
|
|
#11 | | connection refused |
| geek_0800xford |
July 25, 2010, 12:55 pm |
|
|
#12 | | ha ha ha! deeeee-nieeeed! |
| geek_seriouslycgi |
July 25, 2010, 12:56 pm |
|
|
#13 | | actually im starting to think its firewall cos i cant even ping it |
| geek_0800xford |
July 25, 2010, 12:59 pm |
|
|
#14 | | do you have a windows disc? |
| geek_seriouslycgi |
July 25, 2010, 1:07 pm |
|
|
#15 | argh no it fell off the port bow... ha windows
i think it is iptables maybe blocking connections XD its starting up now there is a config dialog for services. ive locked this down for the kids and theres grubby finger prints on the screen hahaha so i had to clean that, so now i think i just have to configure iptables to allow ssh through and it should work. |
| geek_0800xford |
July 25, 2010, 1:13 pm |
|
|
#16 | confucious say: ur noob fu, it is strong
oh, and don't forget the balls... |
| geek_seriouslycgi |
July 25, 2010, 1:27 pm |
|
|
#17 | | yeah iptables ok in business now |
| geek_seriouslycgi |
July 25, 2010, 1:27 pm |
|
|
#18 | | nothing to see here, especially not me being a noober |
| geek_0800xford |
July 25, 2010, 1:52 pm |
|
|
#19 | | i need to fix some busted stuff today too... | |
| | Leave your comment: | | Geek Forums Message Board > Sshd in dreamlinux
|
|
|
|