Skip to main content

All Questions

1 vote
1 answer
271 views

Unable to get terminal prompt when executing script via ssh

I have the below script that works fine when run locally cat /tmp/input.sh echo -n ">> " read env exit; I get the command prompt when i ...
Ashar's user avatar
  • 511
2 votes
1 answer
312 views

Will the command `script /dev/null` stop or affect the running applications and server? [duplicate]

I can login to the server terminal with username and password. But I can't run the screen command. It says Must be connected to a terminal while I ran this screen -R newNodeServer. I found an answer ...
test team's user avatar
  • 123
2 votes
0 answers
239 views

Why can't I send a post request to my server after SSH logout?

I've created a .jar file which listens on port 8089 and receives post requests. I start it in the background on my linux machine with the following commands: nohup java -jar myServer.jar & [1] ...
hayfreed's user avatar
  • 121
0 votes
0 answers
1k views

SSH : launch task and leave it running even if I quit the terminal [duplicate]

I want to launch a task through ssh and then exit my terminal and have my task continuing on my ssh server. I have tried a bunch of things which did not work, such as : laptop$ ssh server@ipaddress ...
Johannes Lemonde's user avatar
0 votes
3 answers
523 views

Find & remove files that are uploaded through Cpanel x minutes ago, using SSH

I have a Cpanel login of remote system into which I have uploaded a number of folders and files scattered throughout the structure. But I remember that I did this a few minutes ago, roughly x minutes ...
Vicky Dev's user avatar
  • 259
0 votes
2 answers
238 views

One SSH session one script multiple terminals no X [closed]

I have read other posts asking the same question in the answer was, run your script and have it like this: #!/bin/bash xterm -e command The problem is that I don't have X installed on that server, ...
aDoN's user avatar
  • 756
5 votes
1 answer
792 views

How does SSH display the message "The authenticity of host .. can't be established"?

I wanted to trace down the system call used by ssh to output this warning message: > ssh root@abcde The authenticity of host .. can't be established. If the message were sent to stderr or stdout, ...
Howard's user avatar
  • 5,249
3 votes
2 answers
19k views

How to see all commands executed by the current user, in all sessions/screen/byobu terminals?

If there is debian box, some users have access to the root account, some of those users open an ssh connection and start executing commands, some open screen or byobu or other similar tools to execute ...
sharp12345's user avatar
7 votes
1 answer
2k views

Why ssh does not turn terminal title back?

As you might know, when you ssh to a server from an X terminal (rxvt, gnome-terminal...), ssh changes the window title to reflect user@host, but it does not change it back. There are many tips how to ...
Alois Mahdal's user avatar
  • 4,460
2 votes
2 answers
1k 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 ...
sanath's user avatar
  • 21
74 votes
7 answers
165k 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 [email protected] 'ssh [email protected]' stdin: is not a tty ...
Jhonathan's user avatar
  • 3,665
2 votes
1 answer
2k 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 ...
T. Brian Jones's user avatar
5 votes
4 answers
4k 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 ...
Vass's user avatar
  • 5,401