Skip to content

SSH, remote command sudo su - and Password #37

Description

@BurtGummer

Hello,

I use a command in Keepass2 like this:

cmd://"C:\putty\putty.exe" -load "example.org" -ssh -P 22222 -pw {PASSWORD}

to connect directly from Keepass2 with one click. But after I login successfull, I have to enter:

sudo su -[ENTER]
[SAME-PASSWORD-AGAIN][ENTER]

Can I do this with this plugin? I try the -m switch, but then putty close the connection after all commands enter.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions