Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(easy) ssh config question!! (takes 2 seconds to read & ans)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Mon Sep 05, 2005 4:18 am    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Sep 05, 2005 7:29 am    Post subject: Reply with quote

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 :oops: )


Last edited by truc on Mon Sep 05, 2005 7:40 am; edited 1 time in total
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Sep 05, 2005 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Sep 05, 2005 7:47 am    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Sep 05, 2005 5:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum