如果希望SSH登陆直接到工作目录,可以这样:

ssh user@server -t "cd /websites/website ; /bin/bash"

或者用的是zsh:

ssh user@server -t "cd /websites/website ; /bin/zsh"