4
votes
1answer
51 views

How to automatically opening terminal windows & tabs, ssh and sudo su?

When I start my day in front of my computer, I first have to do the following: In workspace 1: Open a new terminal window, ssh loginserver, then ssh serverA1 and sudo su account00 Open a new ...
0
votes
1answer
271 views

terminal + ssh doesn't display UTF correctly

I have a remote server, to which I connect via SSH. On separate Mac OS and Gentoo computers, when I connect to this server, unicode works fine. On my brand new Ubuntu installation, I don't see ...
2
votes
5answers
549 views

How to run application from terminal forever? [duplicate]

I start jenkins web server using command java -jar jenkins.war. It works great. When I close terminal the application stops. How to make it run even if I close terminal session ?
0
votes
1answer
515 views

Ubuntu UI unresponsive but can ssh in, how do I log out the remote over ssh?

I want to log out the user session of a remote Ubuntu 12.04 x64 (laptop) by ssh'ing and running a command. I know I can reboot with a simple sudo reboot but don't want to if I can help it, I'd ...
5
votes
4answers
7k views

Open another terminal window with the same SSH session as original window

Is there a way to open a terminal window ( or tab ) with another instance of an open SSH session ? EDIT: I have a terminal window with a remote ssh session into a server. I want to open a new tab ...
4
votes
1answer
1k views

SSH to Server, Execute Command, and Maintain Connection

I want to write a script that opens a terminal with different tabs, logon to a server using ssh in each tab and execute a command in each tab. For example: htop. The below script opens a terminal ...
0
votes
1answer
210 views

Remote Play Movies/Music

I have a basic understanding of using SSH, as in that it allows you to access files on a remote server from a local client, to run on the remote server. However, what I am trying to achieve is a way ...
0
votes
2answers
906 views

SSH terminal automatic resizing

Ubuntu installations (12.04 and 14.04) from the mini.iso (and not on Server or Desktop versions) result in the host providing terminal session that do not automatically resize themselves to the same ...
3
votes
1answer
721 views

SSH Lost Terminal Colors

I have to computers with exactly the same configuration (same PS1 etc...). When I ssh from A to B the terminal correctly displays PS1 and file type colors (i.e. blue directories, green executables ...
6
votes
2answers
3k views

Why does gnome-terminal freeze when an SSH session gets disconnected?

This is a very simple problem. I use gnome-terminal to SSH to other machines every day. I do this on a laptop which I carry around the office, so I am constantly switching between wired and wireless ...
3
votes
1answer
441 views

Open a pair of tabbed terminal windows with titles

I am constantly opening up a pair of terminal windows which I like to have on separate tabs that I then use to SSH to the same pair of servers. I then set the titles of each tab to be that of the ...
4
votes
1answer
404 views

SSH shell launched using “expect” doesn't have full width. How can I make fix it?

I am using expect to auto login on SSH from an Unity launcher, the command looks something like this: gnome-terminal -t SSH1 -e "expect -c 'spawn ssh root@111.222.333.255 ; expect assword ; send ...
2
votes
2answers
1k views

How to pass arguments in a script using gnome-terminal

As part of a script I have gnome-terminal -e "process involving another user" Once executed this line, I have to write in the terminal 3 times the password of this user. I wonder how can I automate ...
2
votes
2answers
694 views

Gnome-terminal doesn't close at end of SSH session

I have defined in gnome-terminal that it closes at end of shell. When I press Control-D or I execute exit, the terminal closes. But if I open the SSH session with gnome-terminal -x ssh server and I ...
0
votes
1answer
1k views

How can I stop a terminal connection from timing out

At work I have two machines: Windows XP and Ubuntu 11.04. On my XP machine I use Putty to connect to some servers and can leave those windows open for weekends without them timing out. However, when ...
12
votes
4answers
5k views

Automatically change Terminal colors on remote connection?

Is there a way to automatically apply a terminal profile when connected to a remote machine via SSH? I'd like more obvious visual cues that I'm connected to a remote machine than the user/host ...
1
vote
2answers
4k views

Gnome-terminal shortcut open multiple ssh connections in tabs

I was wondering does anyone know a way to make some kind of shortcut under Ubuntu that when I click on it, it will open up multiple SSH sessions (or execute other actions) in a tabbed gnome-terminal?