$ ssh user@remote-system
$ cd <some-directory>
$ ssh -t sk@192.168.225.22 'cd /home/sk/ostechnix ; bash'
$ ssh -t sk@192.168.225.22 'cd /home/sk/ostechnix ; exec bash'
$ ssh -t sk@192.168.225.22 'cd /home/sk/ostechnix && exec bash -l'
$ ssh -t sk@192.168.225.22 'cd /home/sk/ostechnix && exec $SHELL'
$ ssh -t sk@192.168.225.22 'cd /home/sk/ostechnix && uname -a && exec $SHELL'
$ nano ~/.bash_profile
cd /home/sk/ostechnix >& /dev/null
$ source ~/.bash_profile
| 欢迎光临 邳州信息网 (https://www.pzxxw.com/) | Powered by Discuz! X3.4 |