I'm able to login to the iphone with sshpass from the terminal, but not into a specific directory while logging in. Any help on the proper method to select a directory while logging in would be greatly appreciated.
Works: sshpass -p 'alpine' ssh -p '2222' root@localhost
Doesn't Work: sshpass -p 'alpine' ssh -p '2222' root@localhost:/var
When it doesn't work, there is no error message, it just appears to do nothing and I am not returned to a command prompt.
Works: sshpass -p 'alpine' ssh -p '2222' root@localhost
Doesn't Work: sshpass -p 'alpine' ssh -p '2222' root@localhost:/var
When it doesn't work, there is no error message, it just appears to do nothing and I am not returned to a command prompt.