SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

0
votes
1answer
20 views

Syntax Error while running command from another hosts [duplicate]

I run a command to fetch server uptime as below [root@localhosts ~]# printf "`uname -n` `uptime| awk -F " " {'print $3,$4'}`\n" localhosts 75 days, Now when I run same command from another ...
1
vote
1answer
33 views

Running remote GUI application over SSH as a standard non-admin user [duplicate]

I'm running a HelpDesk for internal call center employees. All employees have headsets in conjunction with their jobs, and I'm working on a script to remotely launch a minimized Mumble session via ...
8
votes
4answers
872 views

How can I keep my SSH sessions from freezing?

I have ServerAliveInterval and in case of few machines also ClientAliveInterval set to 540 in SSH client/server configuration files (I suppose setting it to more than that would not be a good idea). I ...
0
votes
0answers
20 views

Change external ip to be the one of a server?

I can ssh from my computer (Ubuntu 14.04) to a RedHat server. I wonder if I can browse webpages in Google Chrome or Firefox using the external IP address of the server? Running firefox on the server ...
1
vote
2answers
21 views

Does `ssh -D` proxy DNS request?

Is DNS resolution tunneled to the other end when I use a SOCKS proxy created with ssh -D? I have read the manual, searched the Internet, and found no documentation relevant.
0
votes
0answers
13 views

SSH key works on NIS server, fails on NIS client

I am trying to set up public key access to a couple of machines that I have a user account on. What I did: I used ssh-keygen to generate a key pair (without a passphrase) on my personal computer ...
0
votes
0answers
22 views

SSH Public key fails when using Reverse SSH Shell

I have a machine behind a NAT, which I would like to access via ssh. Lets call this machine A. I have machine B, which is publicly reachable, which I would like to route my ssh connections. I have ...
3
votes
3answers
51 views

How to remotely connect to a computer via ssh which is behind a wireless router? [on hold]

At present, I'm using the wireless router TP-Link WR740N. I have tried the following two solutions in order to connect to my host computer, which is behind the wireless router: Use the "virtual ...
0
votes
0answers
63 views

SSH - Command Not Found [on hold]

I am using the 1and1 unlimited hosting package (linux) which comes with ssh accesss. I am trying to install a Teamspeak3 server as outlined in the following two tutorials. ...
1
vote
1answer
87 views

Is there a canonical method to restrict ssh access to certain IP addresses in Unix?

I checked man pages related to ssh on OS X and other systems and tried using hosts.allow and hosts.deny files as per this post, and sshd_config to no avail. $ cat /etc/hosts.allow sshd: ...
1
vote
0answers
19 views

Backing up VPS via SSH/SFTP

I'm going to perform some maintenance on my VPS (Ubuntu Server 15.04), and I would like to back up some files before doing so. The problem is that some of these files are under other users' home ...
0
votes
1answer
25 views

“Invalid MIT-MAGIC-COOKIE-1 key” when trying to run program remotely

I am attempting to run an application (ParaView) in client-server mode with its graphics rendering being done on the remote (server) end. I am using SSH as my means of connecting to the server, but do ...
0
votes
2answers
29 views

How to make the script automated to take password on its own?

I have a script that is doing sftp some files from one server to another, like inside the script script.ksh I have the below lines; sftp user@ip_address << EOF cd path put file1 bye EOF When ...
2
votes
1answer
27 views

ssh port forwarding without logging in

I am forwarding a port of a remote server to my local mac as follows: ssh -L 15672:localhost:15672 me@example.com When I do this in a shell, I am also logged into example.com. Yet I would like the ...
0
votes
0answers
45 views

SSH between two linux servers taking too much time [closed]

I am facing connectivity issues between two Linux servers.While I SSHing between two servers, it's taking morethan 1 minute to get connected. Please suggest me for the same.
-1
votes
0answers
19 views

Ssh and IDL error: Unable to connect to X Windows display: :0.0 [closed]

Was wondering if you guys could help out. I am trying to ssh into my work's network to use some software but keep getting the aforementioned error message. I understand I need to direct the DISPLAY ...
1
vote
3answers
57 views

How to use SSH to move a file from Ubuntu to Windows?

I am logged onto a windows machine. I am using Putty to login to an Ubuntu machine on the same network. Now I'm trying to move a .c file from the Ubuntu machine, to the Windows machine, edit it there, ...
-3
votes
0answers
19 views

automatically run a scrip for devices via batch ssh [closed]

how can i run a auto scrips on a device that i connect to 192.168.1.20 enter to the interface that a window pops up and click oky enter username xxx password xxx and run the command touch ...
0
votes
0answers
13 views

Very slow SSH connection unrelated to GSSAPIAuthentication option

I am having trouble connecting to remote machine through SSH machine (I cannot change SSH configuration on that machine though I can login without any delay from other machines). I have commented out ...
-1
votes
1answer
27 views

Problem with sftp

i am facing issue while ftp using the command file, but i don't face the executing using the manual execution of commands.. i need to ftp while connecting to ssh machine, the command file is ...
1
vote
1answer
102 views

Why SSH login works in shell but fails in all third parties via ssh tunnel?

I'm using ssh to log in (prompt password first time) on a remote server. In shell, using this command: ssh root@myserver.com works well! But all other db software applications that I tested ...
5
votes
2answers
186 views

What are .serverauth.##### files in my home directory?

The files are .serverauth.##### where ##### is a 5-digit number. I have a handful of these files in my home directory with a broad range of creation dates spanning a couple of years. What are these ...
0
votes
0answers
18 views

Chroot SFTP read only user + admin read/write user

I currently have a ssh-server setup which has users with read/write access jailed to their home account. The need has now changed and I now need the home directory user to have jailed read only ...
0
votes
1answer
49 views

ssh secure shell: “connection closed by remote host”, not acquiring the key

I am very new to using this ssh secure shell to access a remote workstation. This is the third time I have received the message: Server responded "Connection closed by remote host". The ...
3
votes
3answers
37 views

Can I change terminal type used to login through SSH?

When I login on some particular server through SSH (which I do not have admin access to), I get the following error: urxvt-unicode: Unknown terminal type (I also don't want to change my terminal type ...
1
vote
1answer
30 views

Xming wont start if running as super user

Scenario: I am attempting to run WireShark through xming server located on a windows 8.1 machine off of a Raspberry Pi B+ that is hardwired to a Wifi Pineapple Mark 5. Xming successfully launches ...
1
vote
0answers
26 views

Using autossh to create a persistent, multiplexed ssh connection without any port forwarding?

I want to use autossh to maintain an ssh session configured for multiplexing. This way I can write scripts on my localhost that take advantage of the persistent ssh connection. I'm having trouble ...
0
votes
0answers
19 views

Installing Docker into Vagrant VM failed

I'm using Vagrant and Docker and this problem occurred while i vagrant up my machine, it works fine before: ==> default: Running provisioner: docker... default: Installing Docker (latest) onto ...
0
votes
1answer
17 views

start process from ssh and be able to close connection [duplicate]

I'm connecting to my RaspberryPi with Raspbian installed via ssh and my problem is, that I can't let the RasPi do things (installing software, make calculations) while my Computer is shut down, since ...
1
vote
1answer
39 views

Tar and download in one step over ssh / scp [duplicate]

(This seems like an obvious / common question, but I couldn't find it when searching - maybe I wasn't using the correct terminology...) I want to login over ssh to a remote machine, tar a directory, ...
0
votes
0answers
22 views

Configuring tun0 and tun1 IPSEC interfaces

I'm trying to make two IPSEC tunnel interfaces in order to make a bonding but i don't know how to start it since i can't find any tutorial showing something similar. Can anybody gives me an indication ...
0
votes
1answer
47 views

How to ssh between lxc containers

I have an Ubuntu host running Ubuntu lxc containers. Whenever I try to ssh between containers, I get: root@master02:~# ssh root@slave01 -vvv OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading ...
1
vote
1answer
26 views

Passwordless ssh login on Mac OS without -i option

I have a ssh key without a password to login to a remote system. Let's assume the remote server is called server-name and has the same user as the one I'm currently logged in. In the console if I do ...
1
vote
1answer
38 views

How to set up chrooted and non-chrooted sftp?

I am trying to set up my Openssh server to allow for chrooted sftp-only users as well as for non-chrooted sftp and ssh users. My condensed (comments and blank lines removed) /etc/ssh/sshd_config looks ...
0
votes
1answer
72 views

Run script on multiple hosts [duplicate]

I have below script which creates user list and also filters ignore.txt file to ignore matching usernames. I would like to run this script on multiple hosts like hostA, hostB, hostC. Like if I run on ...
1
vote
0answers
18 views

Correctly closing multiple hop SSH tunnel

I want to tunnel VNC traffic to host2, which is only accessible from host1, whereas host1 is publicly accessible. I setup a multi-hop SSH tunnel as described in this question, using: ssh -L ...
1
vote
1answer
30 views

Use the -i option on ssh/scp

I would like to setup the ability to log into my redhat server by specifying the -i option on ssh or scp command line. I have followed the steps according to google but it doesn't appear to work. ...
0
votes
1answer
34 views

ssh with command loses tab-completion

I have a handy alias as follows: sshpass -p "the_password" ssh -o StrictHostKeyChecking=no root@192.168.0.123 That will give me a quick way to login to a remote device, and get a command prompt ...
3
votes
1answer
47 views

Is there limit to nested ssh sessions?

In my workflow I frequently have to open several chained/nested (?) ssh sessions to get where I need: ssh to remote management server Escalate privileges (sudo su ...) Ssh to another remote ...
1
vote
1answer
33 views

Zones are in SUSPENDED mode in Oracle Solaris 11.2 SPARC

Zones are in suspend mode how can I bring them up online? Operating system: SunOS xxxxxxbase02 5.11 11.2 sun4v sparc sun4v While listing the pool in global zone I can see four hosts are in suspend ...
2
votes
2answers
48 views

Increasing Productivity When SSH into Multiple Hosts [duplicate]

I work in operations and need to be able to log into multiple servers among a few hundred servers in a productive way. What I mean by productive is this: from the time from when someone asks me to ...
1
vote
1answer
18 views

Why is sshd getting restarted when yum cron starts?

I have a new server build (Centos 6.6), and have yum-cron installed and running in cron.daily. In looking through my messages and secure logs, it appears that right after yum starts updating and ...
1
vote
1answer
25 views

ssh 3des private key encrypt and decrypt

i have converted my ssh private key with 3des encryption openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa.old -out ~/.ssh/id_rsa how do I remove encryption and get the old key?
2
votes
0answers
31 views

Tunnel audio chat over ssh

I'm running a HelpDesk for internal call center employees. Right now, we can chat with employees over our web portal and remote-control their Linux Mint workstations via VNC over a secure SSH tunnel. ...
2
votes
0answers
20 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): ...
0
votes
2answers
26 views

Exclude the output from ssh and only log the error if found

typeset -f | sshpass -e ssh -o StrictHostKeyChecking=no user@${IPADDRESS} " $(cat); IFERROR=$(checkscript); echo "$IFERROR"" > ${SSHTEMPFILE} 2>&1 This line...I can't exclude the ...
3
votes
1answer
48 views

How does rysnc work over ssh?

When the rsync program is invoked over ssh what does the interaction between rsync and ssh look like? What feature of ssh is rsync using? I am interested in the interaction between rsync and ssh.
1
vote
1answer
25 views

Can't push git updates & run Unix commands when connecting via SSH

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
2
votes
0answers
31 views

ssh terminating immediately with message Terminated

I have tried following command on my local system (Ubuntu 14.04 LTS): $ ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. ECDSA key fingerprint is ...
1
vote
1answer
24 views

Channel 0: open failed: administratively prohibited: open failed

I was doing this tutorial, but when it comes to the part where O should run these commands: local-server# ssh -NTCf -w 0:0 87.117.217.27 local-server# ssh -NTCf -w 1:1 87.117.217.44 It says: ...