Skip to content

Run command on connection ? #408

Open
@MadTomT

Description

@MadTomT

Is there any way to run a command automatically once connected ?
I'm passing the server IP, Username and Password to wssh and this connects and logs me in.

On one specific server, I'd like to run 'su\npassword' to send the su command and my password as soon as I log in.

Is this possible ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions