View previous topic :: View next topic |
Author |
Message |
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon Sep 05, 2005 4:18 am Post subject: |
|
|
RAD709,
as you can see the ssh_config and sshd_config belong to the openssh package.
Code: | atl64 linux # equery belongs /etc/ssh/ssh_config
[ Searching for file(s) /etc/ssh/ssh_config in *... ]
net-misc/openssh-4.1_p1-r1 (/etc/ssh/ssh_config)
atl64 linux # equery belongs /etc/ssh/sshd_config
[ Searching for file(s) /etc/ssh/sshd_config in *... ]
net-misc/openssh-4.1_p1-r1 (/etc/ssh/sshd_config)
atl64 linux # |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Mon Sep 05, 2005 7:29 am Post subject: |
|
|
Dlareh wrote: | Three ways:
Code: | ps aux | grep sshd
netstat -atpn
emerge -u nmap
nmap -p22 localhost | |
As I said, I don't have any monitor to display on, so I blindly typed what I said, but I couldn't check anything, except if you tell me the way to make my computer talking to me
I'm sorry I'm not at home for now, I will paste my config file as soon as I get home (if nobody does it before)
I can just remember that I tried to move (sorry I'm not sure if it worked, since I can't see anything (sorry for repeating myself but it's really annoying ) ) the /etc/ssh/sshd_config to /etc/ssh/sshd_config_sthg_else
And only then I did the emerge -C openssh then emerge openssh then etc-update . Sure you did the last one? (I'm not even sure if it was needed or not )
Last edited by truc on Mon Sep 05, 2005 7:40 am; edited 1 time in total |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Mon Sep 05, 2005 7:31 am Post subject: |
|
|
Oh, missed that...
Incidentally, do you know of any good livecds that automatically start sshd ? _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Mon Sep 05, 2005 7:47 am Post subject: |
|
|
yeah I though about using a Live CD(actually that was my first adea), the problem was/is,
I would have had to chose the right medium to boot from, and in the boot menu from the BIOS (assuming I would press the "boot menu key" (don't know how to say..) at the right moment) there are a lot of possibilities (2 HD, Lan, USB and a many else (nforce 2 mobo) ) and I don't really remember where the CDROM stand in that loonngg list |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Mon Sep 05, 2005 5:28 pm Post subject: |
|
|
So:)
everything is commented in ssh_config
and sshd_config looks like (by default)
Code: | Protocol 2
PasswordAuthentication no
UsePAM yes
Subsystem sftp /usr/lib/misc/sftp-server
|
|
|
Back to top |
|
|
|