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

learn more… | top users | synonyms

4
votes
3answers
194 views

Automatic login via ssh (no GUI environment installed / no ssh-agent available)?

I have three systems, and I want to have them doing backups between them periodically. The two of them, have Debian Wheezy installed and the other one has Ubuntu 12.04 installed. Only the Ubuntu has a ...
0
votes
0answers
22 views

Network communication between two nodes in a Hadoop cluster

I am running a 7 node hadoop cluster with each box running Ubuntu 12.04. It is running CDH4 setup using Cloudera Manager. It was already setup and running when I came in but now I'm running into a ...
0
votes
0answers
31 views

nohup, screen and tmux not working when closing connection on yocto linux (intel edison)

I have an Intel Edison with Yocto Linux and standard configurations. It had nohup pre-installed and I managed to install both screen and tmux (by compiling them from sources). Now, I would like to run ...
0
votes
1answer
35 views

Is there a way to specify the list of private keys to add to ssh-agent?

After a few hours of digging, I finally found out why my computer stopped asking me for my key(s) using gnome ssh-askpass. It was very simple, but took me forever to figure out because... well... most ...
0
votes
2answers
31 views

Pinpoint strange text at initiation of SSH session

On my OpenSUSE 13.1 (Gnome 3) system, whenever I start a SSH session, somewhere in the initialization, the terminal outputs some strange lines. Last login: Sat Nov 29 00:00:00 2014 from [HOSTNAME] ...
0
votes
0answers
13 views

How to troubleshoot: “X11 connection uses different authentication protocol.”

I start an ssh session with localbox % ssh -vvv -Y remotebox 2>debug_ssh_log ...which succeeds. Then I try to run xlogo on remotebox, but the command fails immediately, and the following lines ...
1
vote
0answers
49 views

GLX extension missing on display “localhost:10.0”

I have installed scilab 5.5.1 on rocks based cluster(with GPU card & nvidia driver installed), and i am able to successfully use scilab on the same . Issue arises when i need to use scilab from a ...
1
vote
1answer
35 views

restricting remote vpn login to ip address in CentOS 7

I have read that OpenSSH itself does not support authentication via specific IP address. In a CentOS 7 installation on a web server, how would one configure the login so that a user would not only ...
1
vote
2answers
67 views

Unable to allow SSH access for new user [closed]

I currently have an issue, what I am trying to do is disable the root login and use ssh to login as a new user, then su to root when needed. I am unable to actually allow the user to login through ...
1
vote
2answers
144 views

Fake IP addresses generator

I have an application running on a server that adds a new iptable rule blocking every IP address trying to connect via SSH with a wrong password. Now, I'd like to perform a stress test where many ...
0
votes
1answer
45 views

How to create a script to run several scripts on different servers

I need to automate the execution of several scripts, and I'm writing a script. The scripts have to run concurrently because they are part of a benchmarking suite. I'm trying to execute 6 different ...
2
votes
1answer
23 views

Programatically / dynamically adjust SSH session port forwards

I have a workflow where I am trying to do the following: For a given existing SSH session, access the remote machinne and perform a process from which a port is returned (e.g. a remote daemon has ...
2
votes
2answers
28 views

Securely making an SSH connection from a public computer

Today, I had to remotely connect to my debian computer at home to fix an issue with a VPN server. I was using my iPhone with an SSH client to fix the issue, but I had a hard time due to the small ...
1
vote
1answer
62 views

Copy directory with SCP

I'm trying to copy directory from local drive to remote server with -r parameter, however I'm getting: scp: System error: 1633648 (Failed to retrieve error string (err:317)) This is the syntax I ...
1
vote
0answers
62 views

User Acces restrict to only one folder

I am trying to establsih SFTP User rights at a server to only one folder, following the guidelines here: ...
1
vote
1answer
24 views

Remotely use SSH key authentication (3

I have a VM using ubuntu 14.04. running on a windows. If I use the terminal on the VM desktop, I can connect to my servers without passwords using registered SSH Keys. When I connect to the VM from ...
4
votes
1answer
50 views

sound in firefox via ssh -X

I have a headless debian box with speakers. Suppose I'm at my laptop and I do $ ssh headless -X $ audacious then audacious' window pops up on my laptop's screen. If I open a file then it ...
0
votes
0answers
36 views

DISPLAY is not properly set in multi-hop ssh with X11 forwarding

I have a NAT machine on AWS which acts as my gateway to several other servers in a private subnet (where I ssh as root). Using xming and putty I am able to connect to the NAT machine and then run an X ...
0
votes
0answers
81 views

Key-based authentication from PyCharm / JSCH to OpenBSD fails

I am trying to configure PyCharm (java-based IDE) to connect via sftp to a new OpenBSD 5.6 machine with an almost-default setup. However, it keeps returning an error "Algorithm negotiation fails". I ...
1
vote
1answer
28 views

Updating a bunch of Macs via SSH. Could use some help

all. I'm working on a script that'll be running from our Mac server, and it will (hopefully) update all of our Macs via Munki (repo is on the same server) and the built-in softwareupdate command. ...
1
vote
2answers
68 views

Enable ssh root login

I have access to a CentOS server with a user that its not root but belongs to the sudoers list. I do not have the password of root, nor I can't find out what it is (policies of the people who gave me ...
0
votes
0answers
60 views

ssh with rsa key asks for password

I have a server with Ubuntu 14.04 x64 operation system. Part of my sshd_config file (entire file): Port 2202 Protocol 2 PermitRootLogin without-password StrictModes yes RSAAuthentication yes ...
1
vote
0answers
30 views

Fedora 20: irqbalance problems in logs, strange behavior

I'm seeing unexplained network behavior, such as sporadic inability to reach beyond the subnet, passwords rejected for no apparent reason, and SSH attempts constantly yielding that irksome ...
0
votes
0answers
54 views

ssh: remote port forwarding failed for listen port <privileged>, although root

ssh root@host -R 135:other:135 Warning: remote port forwarding failed for listen port 135 Why? I'm root, nobody's listening on that port, subsequent -L 135:... works: ssh root@host -R ...
1
vote
1answer
112 views

SSH tunneling fails with “administratively prohibited: open failed” [duplicate]

I am trying to connect to internet via a server in local network. I don't have permissions to change server configuration. I want to do a ssh tunnel to that server and via that using socks proxy, I ...
1
vote
2answers
89 views

Is there a reason for ssh and sftp being so unintegrated?

I am often working remotely with SSH and SFTP. The latter being basically a file copy protocol running over SSH, I am wondering whether there is a reason those two tools have not been integrated yet ...
0
votes
1answer
65 views

How to ssh and execute a remote script within a local shell script?

I have a shell script which will kick off a series of jobs on a remote server. I can ssh into this server (but it does require a password!) and run the scripts manually, but there are certain steps ...
1
vote
3answers
39 views

What will be prioritized in a conflict between ~/.ssh/config hostname and /etc/hosts?

What if one host is defined in /etc/hosts like: 192.168.0.100 server and one is defined in ~/.ssh/config like: Host server HostName 192.168.0.100 and you ssh into server: ssh ...
1
vote
1answer
90 views

OS X SSH keeps asking for password [closed]

I connect from a Linux machine to several Macs over ssh using public/private keys. The setup is the identical on every ac, different OSs from 10.5 to 10.9 and publickey working. Only one of them, ...
2
votes
2answers
33 views

temporarily disable login using one specific ssh key

On my server, I have several public SSH keys in ~/.ssh/authorized_keys. I would like to temporarily block/disallow/deactivate one key. I want to prevent the user to log in using this key now. but I ...
1
vote
1answer
24 views

How to create a SOCKS only group?

I am currently trying to set up a user group that can connect to a server over SSH but only proxy through it. They can't see any files or run any commands. Users in the group would also be able to use ...
3
votes
2answers
83 views

Execute code on remote machine and copy the results back

I'm using some old Fortran code that uses some peculiar memory handling. To make the long story short, it runs on my local machine but fails on the remote one. This is why I would like to ssh to my ...
1
vote
2answers
78 views

SSH PC at office in local network from home

My office has one default gateway and behind that is a local network with locally assigned IP addresses to all computers including mine. I hold admin in my Ubuntu installed office PC and is it ...
1
vote
0answers
70 views

How to add PuTTY private key to OpenSSH client

I am trying to setup scp on a new Ubuntu 14.04 system. This system will act as an SSH client to an already configured SSH server on another Ubuntu 14.04 system. I can use putty to SSH into the ...
1
vote
1answer
25 views

RYSNC over SSH not working for restricted shell

I need to give access to some Mr X in my production server so that he can push files to my server. Since there is no necessity to give him shell access , I decided to use restricted shell (rssh) so ...
1
vote
1answer
42 views

scp a file from one server to another one, got “permission denied”

source server IP 162.244.xxx.xxx file -rwxrwxr-x 1 user1 admin 36005278 Sep 10 2013 filename.tar at destination server scp user1@162.244.XXX.XXX:home/filename.tar ./ got a Permission ...
1
vote
1answer
50 views

How to save an SSH key passphrase in gnome-keyring?

I want to save an SSH key passphrase in gnome-keyring and then use it automatically when I need it. How to do this?
4
votes
2answers
124 views

Why does my Python background process end when SSH session is terminated?

I have a bash script that starts up a python3 script (let's call it startup.sh), with the key line nohup python3 -u <script> &. When I ssh in directly and call this script, the python ...
5
votes
2answers
53 views

Permissions depending on how you login: ssh/su/sudo

As user I have access to a remote linux machine where I can: sudo su - other_user Among other things, this allows me to add my own public key to authorized_keys for other_user, which effectively ...
0
votes
1answer
40 views

Frequently Internet Disconnects

I have installed RHEL 5.8 on IMB server. Also I have configured static IP through eth0. When I try to ping any website e.g. google.com, yahoo.com It works only for 25-40 seconds and internet ...
2
votes
3answers
62 views

Copying a file using SSH over a tunnel with cert forwarding

I need to find a way to copy files from mymachine to a server priv-server sitting on a private NATted network via a server pub-server with a public IP. The behind-NAT machine priv-server only has ...
1
vote
0answers
23 views

Determine DBUS_SESSION_BUS_ADDRESS from outside the X session

I've got mate-screensaver installed on a machine running Linux Mint 16. On that machine, I can open up a terminal and query the state of the screensaver: dan@box1 ~ $ echo $DISPLAY :0.0 dan@box1 ~ $ ...
1
vote
5answers
137 views

Interactive ssh works, but not rsync or scp, on OSX

The motivation is that there's a server that I can ssh into (with or without key pairs set up ... i.e., without or with a password) but that I cannot send files to via rsync, scp, or sftp. Someone ...
0
votes
1answer
275 views

ssh connection to server closed after authentication immediately

I'd like to connect ssh://challengeuser@web1.ncc.ninja:2222, but after the authentication and the example output below are displayed, the connection is closed immediately. I can use ssh to connect ...
4
votes
2answers
132 views

SSH Gateway in ~/.ssh/config

What is the difference between the following? Host foo ProxyCommand ssh example.com -- /usr/bin/nc %h %p 2> /dev/null and Host foo ProxyCommand ssh -W %h:%p example.com Which one ...
1
vote
0answers
86 views

Opening multiple tabs in gnome-terminal, having them automatically password-lessly ssh to servers and do so using alias from my bashrc file

I regularly have to ssh into four or so servers we run, at the same time. I have aliased these like. SERVER1=root@server1 alias sshserver1='ssh -t ${SERVER1} "bash -rcfile .my_bashrc"' # Above line ...
1
vote
1answer
83 views

Enable port 443 for ssh connection

I am trying to setup ssh on my port 443 but unfortunately I am not able to do it. Here are the things I tried. Set up the remote daemon running sshd on port 443 and restarted sshd service. sshd ...
2
votes
2answers
71 views

run a local SOCKS proxy tunneled through SSH

I was going through this post and couldn't quiet follow what is being implied there. A great "feature" I use every day at work: The ability to have SSH listen on port 443 so I can create a ...
3
votes
1answer
23 views

SSH session chain

Suppose I do a SSH session chain within one single unique terminal window (RHEL6) open terminal on localMachine, SSH remote login to server1 from server1, SSH remote login to server2 from server2, ...
0
votes
3answers
23 views

Open tunnel only during local command run [duplicate]

I have a script that needs a tunnel to a remote server. Something like this: ssh -fNL 8080:localhost:80 my_server How can I close the tunnel after my local script ends? The above example is just ...