You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to run a command automatically right after logging in.
With CLI ssh this is accomplished by adding a command between quotes at the end.
Example :
ssh @ "sudo su - "
name is my name (remote account) and user is the remote user I need to switch to.
In this example I don't know the password of but is in the sudoers-file.
But can imagine there are lots of other usages for this request.
The text was updated successfully, but these errors were encountered:
I'd like to be able to run a command automatically right after logging in.
With CLI ssh this is accomplished by adding a command between quotes at the end.
Example :
ssh @ "sudo su - "
name is my name (remote account) and user is the remote user I need to switch to.
In this example I don't know the password of but is in the sudoers-file.
But can imagine there are lots of other usages for this request.
The text was updated successfully, but these errors were encountered: