Linux node61.buyvm.net 2.6.18-pony6-3 #1 SMP Tue Mar 13 07:31:44 PDT
2012 x86_64The programs included with the Debian GNU/Linux system are free
software; the exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY,to the extent
permitted by applicable law. Last login: Wed Jul 11 12:08:19 2012 from
113.72.193.52 Linux node61.buyvm.net 2.6.18-pony6-3 #1 SMP Tue Mar 13 07:31:44 PDT 2012 x86_64The programs included with the Debian GNU/Linux system are free
software; the exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY,to the extent
permitted by applicable law. entered into CT 17323
-bash-4.2#
在做了一些关于这方面的研究之后(是的,我只是在谷歌上搜索),我意识到我的服务器应该有一个.bashrc和.bash_profile(或.profile)来控制它.我使用vim打开我的.bashrc和.profile,我似乎无法找到任何会在我的终端显示消息的代码行.因此,我想知道是否有另外一个文件吗?
我想评论那些欢迎消息,因为我的sftp没有处理错误(收到的消息太长了761422195).我很确定这个错误是由我的服务器的欢迎消息引起的.
对不起,我的英语不好.我真的很感激任何帮助!
> / etc / motd(当天的消息)
> / etc / ssh / sshd_config:将PrintLastLog设置更改为“no”,这将禁用“Last login”消息.
然后重启你的sshd.