0

I want to create a desktop shortcut that automatically logs into a testserver via ssh, and shows the active terminal.

Script:

#!/usr/bin/env bash
sshpass -p "mypass" ssh myusr@192.168.xxx.xxx

Link:

[Desktop Entry]
Version=1.0
Name=Connect SSH
Type=Application
Exec=/home/<user>/Documents/testserver.sh
Name[en_US]=Testserver

Question: it seems to work in general, but I don't see any terminal opening. How can I show the terminal that opened the ssh connection?

David Foerster
  • 36,890
  • 56
  • 97
  • 151
membersound
  • 1,460

0 Answers0