Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request : Run command(s) automatically after login #22

Open
Swaphelaer opened this issue Jan 30, 2020 · 0 comments
Open

Feature Request : Run command(s) automatically after login #22

Swaphelaer opened this issue Jan 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Swaphelaer
Copy link

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.

@subhra74 subhra74 added the enhancement New feature or request label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants