[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh



> I know this isn't related to debian, but I do run ssh on my Debian machine
> and was hoping some other users out there encountered this...
> 
> When I ssh onto machine, it displays the motd twice...  any particular
> reason why?

No, but take a look at your .bashrc and .bash_login.

ssh is different than ordinary login/telnet, in that ssh appears
always to parse your .bashrc file, whereas login will read you
.bash_login file. My guess is that you've got a "cat /etc/motd"
somewhere in your .bashrc file.

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: