calling user command during ssh login
Hi,
I am running sshd in my embedded platform and succesfully connected from remote-host using ssh client. After entering correct username and password, I want to run my own command instead of prompt in the client side. what modifications do I need to do? Help me in this regard Thanks in Advance |
What do you mean your own command? Can you be more specific?
|
my application executable in /sbin and I want to execute it automatically once the ssh login is completed. This application gets the user input and does specific task.
|
got it.
type the command in .profile Thanks |
You could copy your script to the remote system and issue:
Quote:
edit: you've already solved it - I was too slow:) |
All times are GMT -5. The time now is 09:23 AM. |