Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about sshd and banner (how to display username)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Yonatan
n00b
n00b


Joined: 08 Mar 2004
Posts: 31

PostPosted: Fri Jan 13, 2006 2:07 pm    Post subject: Question about sshd and banner (how to display username) Reply with quote

I turned on the Banner option in sshd conf, and in general it works, however i can't get it to work with the character sequences. Instead of converting the character sequences to what they should represent, it just prints out the character sequences, e.g. instead of turning %u into the user attempting to connect, it just displays %u.

Any ideas?

Thanks,
Yonatan
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Fri Jan 13, 2006 2:28 pm    Post subject: Reply with quote

The ssh banner is displayed before a user name is provided.
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
Yonatan
n00b
n00b


Joined: 08 Mar 2004
Posts: 31

PostPosted: Sat Jan 14, 2006 4:46 pm    Post subject: Reply with quote

(Actually if you provide ssh with a username, then the username should already be known before the banner is displayed) but more to the point, that was only an example. There are many character sequences that the banner file can contain, which are translated when the banner is displayed e.g. date, architecture, time, hostname, etc.

For example, take a look at the contents of your default /etc/issue . . .

i can't get sshd to work with them though.
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
Page 1 of 1

 
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