Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Problem with cd command in ssh

$
0
0
Every time you run a command with RunCommand you get a default environment. So just running a cd command is useless.
Try this as command "cd /home; pwd"
You can seperate commands with a ";".

This is also possible "cd /home && pwd". The pwd cmd is only executed if the cd command was successfull.

Viewing all articles
Browse latest Browse all 1729

Latest Images

Trending Articles



Latest Images