Tagged Questions
2
votes
3answers
45 views
Log in with specific shell at terminal login
If I log in to a system over ssh, I can use the default shell with a simple ssh user@host, or specify something like ssh user@host 'bash --norc --noprofile' or ssh user@host ksh.
Is it possible to ...
2
votes
2answers
69 views
End process from another SSH window
I forgot to use screen and I have a task that has been running for quite some time, and I do not want to lose the saved data. Basically Ctrlc will end the task and save the data if I am on the same ...
5
votes
2answers
328 views
Prevent SSH client passing TERM environment variable to server?
I'm currently using Fedora 18 gnome-terminal, then started tmux multiplexer in it. After I connected to a CentOS 5 server via ssh command, I find:
ls result has no color
tmux, screen, hexedit, htop ...
1
vote
0answers
57 views
ubuntu:terminal+ssh+vim, resize
Background:
OS:ubuntu 12.04
Display: two, one is laptop, and another is a extended monitor, which is bigger.
Problem:
Open a gnome-terminal in the bigger display, and log on the remote Linux ...
1
vote
1answer
229 views
run a remote process via autossh in background
In Ubuntu I'm trying to run the geany editor on my local X display via the command:
autossh -o StrictHostKeyChecking=false -XCg me@otherDYNDNShost geany &
Trouble is, after the first ...
6
votes
4answers
413 views
Disable colours on terminal and SSH
My local Linux machine has coloured terminal output like this;
When I SSH to a pfSense/BSD box it changes the colours like this;
Even when I SSH from to a machine that doesn't have a coloured ...
2
votes
0answers
101 views
Can emacs use gpg-agent in a terminal at all?
I understand that there are problems with getting pinentry-curses to work with emacs (see some of the comments on http://emacswiki.org/emacs/EasyPG), and so using emacs in a terminal isn't compatible ...
1
vote
2answers
140 views
How to stop a infinite running process (ztail) started by a ssh session after that session is closed
I have a peculiar problem. My server supports multiple ssh session simultaneously, so that multiple admins can manage (via command line interface) it simultaneously. We have a command which calls ...
2
votes
2answers
2k views
Sending function keys (F1-F12) over SSH
I have a Fedora machine that I can SSH to. One of the programs I'd like to use occasionally uses the function keys. The problem is that I'm SSH'ing from an Android tablet (ASUS Transformer Infinity) ...
2
votes
1answer
266 views
New terminator window on remote server
Is there a way to open a new terminator pane on a remote server when connected by ssh?
I am looking for something similar to what can be done (according to this answer) by tmux but using terminator ...
12
votes
3answers
3k views
SSH inside SSH fails with “stdin: is not a tty”
I'm trying to connect to machine one with ssh and then connect to another machine two with ssh, but I get this error.
ssh user@computerone.com 'ssh otheruser@computertwo.com'
stdin: is not a tty
...
5
votes
2answers
1k views
How to properly run “top” command through SSH?
I have to run top command on one computer being on another.
My targeted PC has IP 192.168.0.81
I was trying to do it: ssh 192.168.0.81 top
But I got this result: top: tcgetattr() failed: Invalid ...
2
votes
3answers
930 views
Fix terminal title after SSH remote logging to another machine
right now I am using an one-line perl code to change titles of my terminal bars,
print("\e]0;@ARGV\7");
but every time after I ssh to another remote machine, the title will be modified by the host ...
2
votes
1answer
262 views
How to run mutt via ssh without going through an interactive shell
Mutt depends on curses according to this here, my discussion with Michael:
@hhh: ssh hhh@server.com mutt <--- what is wrong here? trying to run mutt there...
@MichaelMrozek: mutt uses curses, ...
1
vote
1answer
235 views
How does “Remote tab title format” in Konsole work?
Some terminal programs, in particular Konsole supports "Remote title format" which allows you to specify title for remote tabs which includes placeholders like remote host. How does this work? Where ...
3
votes
1answer
1k views
Real time system info script using ncurses and dialog
I'm trying to create a simple bash script that I can run over ssh that will display some basic system information using ncurses and the dialog command. I've tried two approaches so far:
1) Run dialog ...
2
votes
4answers
374 views
How to replicate (fork) the current terminal
Say I am using terminal and have sshed to a remote machine and did something.
How do I create a new terminal tab (or window) so I still has everything from the previous terminal window without having ...
6
votes
3answers
466 views
emacs syntax highlighting fails on my SSH client
I need to connect to a remote server by SSH to edit some documents. When I work at home, I SSH to the remote server using SSH Secure Shell and open emacs, but it doesn't fully highlight documents as I ...
1
vote
1answer
185 views
What causes delay in my keystrokes on OSX's Terminal application?
I'm using the OSX application Terminal to work remotely on Amazon EC2 servers through SSH.
Occasionally and seemingly randomly, my keystrokes are delayed. I've tried reconnecting, restarting ...
1
vote
2answers
501 views
Is there any way to get control over a terminal by ssh with no (screen) [duplicate]
Possible Duplicate:
How can I disown it a running process and associate it to a new screen shell?
Let's say I'm install applications directly on to a Linux box.
May I go to another machine ...
3
votes
1answer
390 views
wait for autossh connection to complete
I'm trying to create a script that runs a few commands that take a long time to execute and require a constant connection, but
autossh user@server
wait $! #or wait ${!}
commandA
commandB
doesn't ...
5
votes
2answers
681 views
working with filenames in a different encoding over ssh
I'm ssh'ing to a remote system where a different encoding for the filenames (and for the users' locales) has been used. And this causes some problems.
Problems solved by matching the locale settings
...
3
votes
0answers
202 views
Emacs ansi-term and term not working well when I ssh into a remote machine
I have the exact same Emacs configuration on a local and remote machine, and when I run M-x ansi-term or M-x term on each of them individually everything works great.
However, if I run any of these ...
19
votes
3answers
5k views
How can I break away from an SSH session that has crashed?
Many times I have an SSH session that doesn't respond anymore (for example, when I lose internet connection and then reconnect). Ctrl+C, Ctrl+D, Ctrl+Z and a zillion of key presses don't have any ...
1
vote
4answers
735 views
How to prevent a program from dying when its ssh session dies?
I have a really old console application that I want to make a bit more resilient. The program is used this way:
the user uses a custom terminal emulator to connect to a remote machine through ssh
...
0
votes
2answers
631 views
Git Server Bash and SSH
I want to use Git over SSH with my Linode VPS running Ubuntu 10.04 LTS.
Instructions seem pretty easy, infact given I had already setup my SSH key etc..
All I had to do was instruct my local ...
2
votes
3answers
948 views
Dtach and Vim over Ssh: Reattach Session
I connected to my server:
$ ssh me@example.com
While in the server, I open a dtach session with vim:
$ dtach -c \tmp\my-dtach-session-pipe vim
Then my ssh session dies. I attempt to go back to ...
4
votes
2answers
1k views
Can I set my local machine's terminal colors to use those of the machine I ssh into?
I have a color scheme that I like for when I'm in a terminal, but I ssh into the machine I work on from multiple sources (locally, PuTTY, my netbook, etc.) and I want to maintain the same color scheme ...
4
votes
4answers
858 views
Copy text from one terminal into another
I am logged into ssh to a university account from my home computer. Then I find a file that I want to copy onto my local system. So I open a new shell terminal and am about to use scp to copy that ...
4
votes
1answer
2k views
Why don't Page U/Down, Home/End work in less on Solaris over ssh from Ubuntu?
I need to work on a Solaris server over ssh from my Ubuntu (Lucid) laptop. I got Home/End Insert/Delete Page Up/Down working in csh and bash using bindkey and ~/.inputrc, respectively. But I can't ...
22
votes
1answer
3k views
Kill an unresponsive ssh session without closing the terminal
Is there a way to disconnect from an SSH session that has become unresponsive without killing the whole terminal? Specifically I'm using konsole, and the machine I'm working with sometimes hangs, but ...
