Suppress welcome message on bash remote command execution -
i'm executing commands on remote server within shell script this:
ssh user@host <<endssh ... endssh
upon login i'm getting standard server welcome message echoed. there way send \dev\null
keep displaying output of executed commands?
thanks.
create file ~user/.hushlogin
on remote host. suppress output login
program when user
logs in (such time of last login , message of day).
Comments
Post a Comment