Tuesday, October 3, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1677  / 2 Years ago, mon, january 31, 2022, 7:16:07

Using SSH in a GNOME terminal is fine. But I want to use it in a Unity window (the location text field, ctrl+l).

I need to refer to my .PEM x509 certificate for security reasons to connect to my Amazon aws EC2 server instance, by using the -i argument that I use in the terminal command.

In the terminal it looks like something like this: sudo ssh -i mykp.pem [email protected]

GUI window: ssh://[email protected].....???

Thanks in advance for any help!

More From » unity


There is no magic ssh:// pseudo-protocol as you suggest, which will open an SSH session. (although Nautilus does support ssh://user@host as a shortcut for SFTP). You can useAlt+F2 to get the graphical "Run" command box, but IIRC even that won't automatically bring up a terminal for ssh, etc.

Your best option might be to create a launcher (.desktop) with the full ssh command-line (as is), and set the "Terminal" property to "true". Call it "SSH-EC2" or something and you should then be able to start it directly from the HUD/Dash (gnome-terminal will automatically open and close when your SSH session ends)

[#36648] Tuesday, February 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 130
Total Questions: 111
Total Answers: 113

Location: Romania
Member since Mon, Jun 6, 2022
1 Year ago