sshrc跟ssh一样,但它会在你登录到远程服务器后显示本地的~/.sshrc文件。
示例:
$ echo "echo welcome" > ~/.sshrc$ sshrc me@myserverwelcome$ echo "alias ..='cd ..'" > ~/.sshrc$ sshrc me@myserver$ type .... is aliased to `cd ..'安装:
$ sudo add-apt-repository ppa:russell-s-stewart/ppa$ sudo apt-get update$ sudo apt-get install sshrc
评论