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

learn more… | top users | synonyms

2
votes
1answer
13 views

Is it possible to show on open/forwarded session in KDE?

When I need to do some longer computation, I leave my computer unattended and just lock the screen. When I log in later to see how progress is going from a remote computer using ssh, it'd be great if ...
2
votes
0answers
144 views

iptables rule to transfer UDP through a SSH tunnel

The problem I have two programs that runs on two distant computers and communicate through a specific protocol. All I know is that this protocol only communicates through UDP and uses the ports 1101 ...
1
vote
3answers
392 views

Port 22 connection refused

I’m trying to copy a disk image over ssh to my local machine using this tutorial on linodes website. I know this could be posted on their support forum, but im convinced its in the general realm of ...
1
vote
1answer
265 views

slow ssh login to a remote machine

I am experiencing slow ssh login from a machine to a remote machine. The verbose of ssh is shown below in two broken blocks. ssh freezes for 15 seconds in the below shown block. [root@zabbix ~]# ssh ...
5
votes
1answer
252 views

How to rollback network configuration changes done over SSH in case of failure?

I'm about to change iptables configuration and interface speed and duplex settings over SSH. What are the possibilities to rollback the changes in case of host becomes unreachable? I guess simple: ip ...
0
votes
2answers
62 views

RSA keys demanding nonexistant passphrase [closed]

I need to automate a script that logs into a server. I made an RSA key and upload it to the server's authorized_keys file: desktop$ ssh-keygen -f ~/.ssh/id_rsa_marge -P '' -t rsa desktop$ chmod 600 ...
2
votes
1answer
25 views

optirun and ssh -X

I would like to run a remote OpenGL program through ssh tunneled with the -X option. My laptop has Optimus so anything using OpenGL has to go through optirun (bumblebee). This would explain why I ...
3
votes
1answer
64 views

Use ssh without trying ssh-keys

If I try to connect to a certain server with ssh example.com ssh aborts with Too many authentication failures because I have more than 5 ssh keys in my .ssh folder and it loops through all those ...
3
votes
2answers
37 views

append something else before ssh-copy-id

Im using this ssh-copy-id command but before I add the public key I would like to add some stuff like, new line and Name. For example: new line #Name of the person pub.key here ..asdadsdad ...
1
vote
1answer
40 views

SSH key authentication works with /usr/sbin/ssh -d, does not with the daemon?

CentOS x64 6.5: if I connect as root to my server and do the following: service sshd stop /usr/sbin/ssh -d I'll able to connect as user using public key authentication from my development machine: ...
0
votes
1answer
32 views

Howto Tell if a System authenticate with password only or through PAM

If my computer has the pam package installed and has the directory /etc/pam.d/sshd, does it mean for sure when I ssh to my computer, I am authenticated through pam modules? The /etc/pam.d/sshd looks ...
1
vote
0answers
89 views

SSH Failing to fork with sshpass

I've a problem with port forwarding command using sshpass. Problem is that it's working on one server and does not work on another. Both are Debian 7 x64 boxes. sshpass -p password ssh -f -D ...
0
votes
0answers
60 views

Seeing SSH debug messages in Terminal/console

I am seeing "debug3: Received SSH2_MSG_IGNORE" appear in the terminal on a RHEL 6 Linux server. I thought maybe rsyslog had a console entry, but it doesn't. sshd_config has logging at AUTHPRIV, and ...
1
vote
1answer
46 views

Unable to access an http sevice forwarded using ssh

I forwarded a port from a remote server (which has Tomcat running on it) to a local port on my machine. Say, if the remote server address is http://myremoteserver.com:8080, I forwarded the port to ...
4
votes
6answers
686 views

How do I work out which port to log in on with SSH?

I have an Ubuntu 10.04 server setup remotely that I setup a while back. While I recorded the username and password, I seem to have been clever and changed the usual ssh port from 22 to... something ...
1
vote
1answer
94 views

Canot remove symlinks: after reboot, symlinks re-appear

Using ssh from BusyBox, I cannot remove symlinks: after rebooting the device, symlinks re-appear. ls -la shows that symlinks have been removed, but after rebooting device they re-appear again. Those ...
0
votes
2answers
85 views

Access remote server after running ifdown eth0

I had a problem: Could not retrieve mirrorlist http://mirrorlist.centos.org/release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: ...
2
votes
1answer
72 views

Including .bash_profile over ssh

I am trying to write a script that will: Copy files to a server (I already have a script copy.sh that does this task) ssh to that server cd to the directory where the files I just copied are run ...
0
votes
1answer
622 views

Cant ssh, connection terminates immediately with exit status 254

The most recent thing I remember is changing the soft and hard memlock ulimit to unlimited. Now I cant ssh into the machine. This is the ssh log. Authenticated to IP ([IP]:22). debug1: channel 0: ...
1
vote
1answer
34 views

'script' session logging makes me exit twice

I'm using a solution described here to log my shell sessions, by adding this to the end of /etc/bash.bashrc: test "$(ps -ocommand= -p $PPID | awk '{print $1}')" == 'script' || (script -f ...
0
votes
2answers
126 views

SSH Server on Ubuntu not works

I wanted to start SSH server on Ubuntu 14.04 running on VirtualBox. I installed Openssh, sshd, etc., configured sshd_config to listen on ip, which I see in ifconfig and it not working. I'm starting ...
0
votes
2answers
34 views

Can't ssh to github from a remote machine: what should I do?

I am sshing into a remote server. From the remote server, I want to be able to ssh to github. I don't want to put my private key on the remote server, because other people have access to the ...
1
vote
0answers
119 views

How to pass multiple commands via pssh and multiple xterms

I'm attempting to open multiple xterms and run a command as an SAP user via sudo using pssh. So far, I'm able to run PSSH to a file of servers with no check for keys, open every xterm in the servers ...
2
votes
1answer
130 views

How can I set default settings for htop?

Occasionally, I need to check resources on several machines throughout our data-centers for consolidation recommendations and the like. I prefer htop, mostly because of the interactive feel and the ...
0
votes
1answer
73 views

Unable to install yum and mysql,ssh

When I go to install mysql on CentOS 6,I get the following error: yum install mysql mysql-server Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...
2
votes
1answer
79 views

Run SSH SOCKS5 proxy on system startup

I want to setup a linux server (Ubuntu Server 14.04 in this case) to be used as a SOCKS5 proxy by software on another client. Now this is pretty easy by running ssh -f -N -D 0.0.0.0:1080 localhost as ...
3
votes
0answers
219 views

.Xauthority file is empty

I have been trying to ssh -X to my cluster running OpenSUSE 11.2. It used to work well for me. But now I get this message: X11 connection rejected because of wrong authentication. Failed to open the ...
3
votes
3answers
106 views

Chrooted SFTP user write permissions

I have a setup with sftp only users: Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no I get the following message in my secure.log: fatal: bad ...
3
votes
1answer
52 views

Not able to SSH into VM

I want to SSH from my host into my guest VM (CentOS). I can Ping. SSH is running. Port 22 is open. Looks like firewall is off / IPtables are all open. (this is not normal?) When I SSH into my ...
0
votes
0answers
21 views

Is there a way to pass a Password to ssh automatically? [duplicate]

I have to access a certain set of Linux machines where control is governed by VPN access, and passwords on the individual systems are effectively not kept secure or secret (security through ...
1
vote
1answer
399 views

Can use Password authentication with SFTP even though “PasswordAuthentication no” in /etc/ssh/sshd_config

I have enabled SSH-keys based authentication on the Ubuntu 14.04 server, disabled root login using SSH and can connect successfully using SSH-keys based authentication with my user account blahblah on ...
0
votes
1answer
57 views

How to ssh with private key from other linux system?

I log in to my server (server1) with user, password and private key: key.ppk. I want to ssh from server2 to server1. So I do the following: ssh -i /srv/key.ppk root@XX.XX.XXX.XXX When ...
2
votes
1answer
116 views

How to connect to ssh-server running on embedded linux without /etc/passwd?

After installing ssh server on my remote machine (which runs embedded Linux), I tried to connect to ssh server from host machine but it failed. This is because I could not specify user account when ...
1
vote
1answer
67 views

How to check my account on embedded linux without “/etc/passwd”?

On some embedded linux systems, there is no /etc/passwd file and /etc directory is not writable (which means I cannot set user account and password?). Then what is my (default) account name and ...
0
votes
2answers
129 views

ssh public key copying

This question is repeating from Stack Overflow because i don't get answer from there. I'm trying to make a simple script that will import the public key to other servers. I have made 2 options you ...
4
votes
1answer
49 views

How can I determine which SSH keyfile was used to authenticate a login?

We have a hosted CentOS 6.5 server in which we have a single user account. That account has been configured to use SSH keyfile authentication for the users who need to access it. I would like to be ...
3
votes
1answer
261 views

notify-send not working under ssh

Maybe this is answered somewhere else, but I didn't see it. I am running Ubuntu 14.04. When I SSH into my machine, for example: ssh <user>@<machineip> notify-send "Hello" I don't see ...
4
votes
2answers
354 views

How to pipe a remote file to stdout over scp or sftp?

Using ssh, it is easy to print the contents of a file using ssh host 'cat file.txt' When ssh is disabled, and only SFTP is enabled, running the previous command gives the following error: ...
2
votes
0answers
93 views

A window asking me to enter my ssh passphrase is popping up randomly. Why?

I'm on Ubuntu 14.04. For a few weeks now a small window keeps popping up randomly, grabbing my keyboard and asking me to enter the passphrase for my ssh key. The Window's title says "OpenSSH", and it ...
0
votes
1answer
49 views

VPS SSH and my OWN IP

Is it possible to to stay in total anonymous mode for the VPS provider? I have got a VPSVZ machine with UBUNTU server. Is it possible to do anonymous tunneling: VPS1 -> VPS2 -> VPS3 (all UBUNTU) ...
2
votes
1answer
163 views

In tmux session, cannot connect to X server after ssh'ing

At work, I have a desktop with a monitor and a few running tmux sessions. At home, I frequently ssh into that desktop and enter my running tmux sessions. When I ssh from home, I do not want to use ...
2
votes
1answer
180 views

SSH: public key authentication without authorized_keys file

I have a lot of ssh public key logins on a Linux server, e.g.: Jul 25 11:41:01 host sshd[24594]: Accepted publickey for root from xxx.xxx.xx.xx port 33374 ssh2 This is strange for me since there's ...
0
votes
0answers
28 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
2
votes
1answer
29 views

Maintain Xserver applications running even after closing the remote conecction

We have a Ubuntu server (mainly a compute server), which does not have X-server installed on it. One can use something like Byobu or Screen to have programs running on the server even after the SSH ...
1
vote
2answers
50 views

How to set up a global interval between SSH log in attempts?

I would like to make it impossible to make more than a single remote log-in attempt in a number of seconds regardless the client IP address (except some trusted white-listed addresses perhaps). So ...
2
votes
1answer
71 views

Memory buffer in a bash script

I have recently finished a script that will ask for a hostname and automatically take the argument of the function and ssh into one of my work servers. Here is a copy of my script: #!/bin/bash echo ...
0
votes
1answer
375 views

how to install VMware vSphere Client on centos 6.5

How can I install "VMware vSphere Client" on CentOS 6.5?
1
vote
2answers
465 views

-bash: cd: .ssh/: Permission denied

When I type in cd .ssh in terminal, it returns with -bash: cd: .ssh/: Permission denied. Now I cannot add my ssh keys to ssh. When I type ssh-add ~/.ssh/idname it says /Users/Dan/.ssh/idname: ...
0
votes
3answers
92 views

Connectivity between 2 remote Linux machines

I have two remote machines, I'm running a script on one of them. There's some part of the script that should be running on the other one, then the script will continue in its further tasks/commands. ...
1
vote
3answers
125 views

Possible corrupt passwd file

I did a recovery of the server and reset the root password to a new one because for some reason, the original was not being recognised. It still is refusing to accept the password in ssh for root. ...