Re: Removing SSH's welcome message (before login)

2010-02-22 Thread Nuno Magalhães
Greetings, > I made it very clear that restarting the sshd daemon does > not break existing ssh client connections.  Try to behave > civilly towards people spending their time trying to help > you. Had you read two of my previous messages instead of skimming through them, you would've known alrea

Re: Removing SSH's welcome message (before login)

2010-02-22 Thread Jon Dowland
On Sat, Feb 20, 2010 at 03:36:20PM +, Nuno Magalhães wrote: > Come to think of it i don't know why i would also copy the > init script, 'cos that evidently screwed any attempt at a > clean reboot. Yes copying it is not good enough, you will also need to make edits to it to make sure that it us

Re: Removing SSH's welcome message (before login)

2010-02-22 Thread Jon Dowland
On Thu, Feb 18, 2010 at 05:00:48PM +, Nuno Magalhães wrote: > IT'S A REMOTE MACHINE, i would've restarted ssh already, > don't you think? I made it very clear that restarting the sshd daemon does not break existing ssh client connections. Try to behave civilly towards people spending their ti

Re: Removing SSH's welcome message (before login)

2010-02-20 Thread Rob Owens
On Sat, Feb 20, 2010 at 03:36:20PM +, Nuno Magalhães wrote: > Hi > > Ok, i was told sshd will keep sessions alive during an upgrade, which > would make sense since they're in memory and i'm upgrading the binary > on disk. Still, after many aptitude upgrades where the ncurses popup > tells me t

Re: Removing SSH's welcome message (before login)

2010-02-20 Thread Nuno Magalhães
Hi Ok, i was told sshd will keep sessions alive during an upgrade, which would make sense since they're in memory and i'm upgrading the binary on disk. Still, after many aptitude upgrades where the ncurses popup tells me the following services need to be restarted, that didn't come to mind at the

Re: Removing SSH's welcome message (before login)

2010-02-19 Thread Nuno Magalhães
Ok, after running ssh with -vvv [1] and renaming my ~/.ssh [2] i came to fear dpkg may have done something to the current installation, even though it stopped 'cos it had missing dependencies. I had 5.1p1, not 5.3p1 as i'm getting from both ports... Which probably means the reboot i asked for toni

Re: Removing SSH's welcome message (before login)

2010-02-18 Thread Nuno Magalhães
On Thu, Feb 18, 2010 at 16:49, Jon Dowland wrote: > On Thu, Feb 18, 2010 at 04:20:36PM +, Nuno Magalhães > wrote: >> 2010/2/18 Artifex Maximus : >> > Put this line into your sshd_config: >> > >> > VersionAddendum AnyString-19540331 >> >> It's a remote machine and i want no string whatsoever, >

Re: Removing SSH's welcome message (before login)

2010-02-18 Thread Jon Dowland
On Thu, Feb 18, 2010 at 04:20:36PM +, Nuno Magalhães wrote: > 2010/2/18 Artifex Maximus : > > Put this line into your sshd_config: > > > > VersionAddendum AnyString-19540331 > > It's a remote machine and i want no string whatsoever, > hence the attempted upgrade. Try VersionAddendum "" the

Re: Removing SSH's welcome message (before login)

2010-02-18 Thread Nuno Magalhães
2010/2/18 Artifex Maximus : > Put this line into your sshd_config: > > VersionAddendum AnyString-19540331 It's a remote machine and i want no string whatsoever, hence the attempted upgrade. - - () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail

Re: Removing SSH's welcome message (before login)

2010-02-18 Thread Artifex Maximus
Hello! 2010/2/17 Nuno Magalhães : > If i telnet (or use a browser!) to my sshd, i get this string: > SSH-2.0-OpenSSH_5.1p1 Debian-5 > even before i login. > > My /etc/motd is empty and i've also tried adding a "Banner > /etc/ssh/banner" line to /etc/ssh/sshd_config (nd creating the > according emp

Re: Removing SSH's welcome message (before login)

2010-02-17 Thread Nuno Magalhães
And then he borked it... 2010/2/17 Sven Joachim : > No.  The code is in the sshd_exchange_identification() function in > sshd.c, if you're interested. > > Newer versions of openssh-server (starting with 1:5.2p1-2) have a > DebianBanner option that allows you to remove the Debian revision from > th

Re: Removing SSH's welcome message (before login)

2010-02-17 Thread Sven Joachim
On 2010-02-17 18:18 +0100, Nuno Magalhães wrote: > If i telnet (or use a browser!) to my sshd, i get this string: > SSH-2.0-OpenSSH_5.1p1 Debian-5 > even before i login. > > My /etc/motd is empty and i've also tried adding a "Banner > /etc/ssh/banner" line to /etc/ssh/sshd_config (nd creating the

Removing SSH's welcome message (before login)

2010-02-17 Thread Nuno Magalhães
Hi, If i telnet (or use a browser!) to my sshd, i get this string: SSH-2.0-OpenSSH_5.1p1 Debian-5 even before i login. My /etc/motd is empty and i've also tried adding a "Banner /etc/ssh/banner" line to /etc/ssh/sshd_config (nd creating the according empty file), and HUPing sshd. I still get this