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

learn more… | top users | synonyms

4
votes
0answers
60 views

Immortal SSH Session

I've got a little TurnKey Linux Debian Squeeze VM that I use for SFTP. I had a user login and transfer a file the other day and now I can't seem to kill the session. I'm still a little shaky in ...
4
votes
0answers
247 views

Can't figure out why ssh_exchange_identification: Connection closed by remote host appear

At home, I have setup a Raspberry Pi with the latest version of Raspbian and with ssh enabled. I also use a Mac Book Pro with OS X 10.9.3. I use ssh pi@192.168.0.22 to do some work on the Raspberry ...
4
votes
0answers
66 views

Tracking my shell path in Emacs

Not a long time ago, I found the following precious snippet that allows Emacs to track my current directory on any ansi-term buffer. More specifically, if I cd <some/path> from within a ...
4
votes
0answers
702 views

git-upload-pack hangs indefinitely

I have the following call structure: Jenkins runs fab -Huser@host set_repository_commit_hash:123abc. set_repository_commit_hash runs git fetch with pty = False. The child process ssh git@github.com ...
4
votes
0answers
5k views

What's this SSH error about “incorrect RSA1 identifier” and “unspecified GSS failure”?

How can I fix this SSH problem? SSH debug errors When issuing ssh -vvv user@host the output includes the following debug messages: [...] debug3: Incorrect RSA1 identifier debug3: Could not load ...
3
votes
0answers
90 views
+100

“PTY allocation request failed on channel 0 stdin: is not a tty” when SSH'ing into a Debian server

My hosting space (Debian Wheezy) serves two websites (one WordPress and one Rails). Today I saw both were down and I rebooted the server. The Rails site works again and the WordPress one now says that ...
3
votes
0answers
20 views

Operation timeout (in /var/log/secure)

Sometimes when connecting via ssh to my RHEL server, I get the following message back from the client: Operation Timeout Seems like a network problem, but when I look at /var/log/secure on the ...
3
votes
0answers
121 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
0answers
105 views

Can't get SSH working anymore on Debian after upgrade

I have a vServer and can only login via SSH. After the latest apt-get upgrade command, I can't login anymore and get the following error message: "Network error: Connection refused". It seems that ...
3
votes
0answers
254 views

SCP Lost Connection

I can successfully connect to my server via ssh but when trying to run the scp command I get a connection time out. $ scp ~/.ssh/id_rsa.pub root@192.168.12.2:id_rsa.pub ssh: connect to host ...
3
votes
0answers
63 views

Slow terminal print out

Just installed (netinstall) debian wheezy on a second machine newer machine however the terminal print out is noticeable slower than on the old machine although the new have faster CPU, RAM and HDD ...
3
votes
0answers
1k views

The right way for dynamic ssh port-forwarding

Want my Firefox could use localhost:9099 proxy forwarded from vps server, why it doesn't it work this way? I always get bind: Address already in use $ ssh -vfND 127.0.0.2:9099 vpn OpenSSH_5.9p1, ...
3
votes
0answers
785 views

How to efficiently use Console2 with screen/tmux/byobu?

I'm using Console 2 and msysgit's bash to SSH into my Linux machines. There, I'm using screen (but considering tmux and/or byobu), but currently simply with one single-terminal session per ...
3
votes
0answers
463 views

Launching app over SSH with DISPLAY when user not logged in

After searching and searching without any luck I'm hoping someone here can enlighten me. I have a PC (Ubuntu with encrypted home dir). I wake this PC up from a shell script on my phone, the PC shows ...
3
votes
0answers
645 views

How do I prevent ssh remote login from breaking dbus?

I'm running openSUSE 11.3 on my workstation at work under KDE, I don't have root access to it. The default shell has been set to tcsh. When I am logged in at my workstation and log in remotely from my ...
2
votes
0answers
88 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 ...
2
votes
0answers
64 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 ...
2
votes
0answers
95 views

Cannot connect to ssh server

I am having trouble connecting to my ssh server. It responds with a lengthy error message about no network etc. but it is the last message that concerns me: Sometimes, such troubles can be caused ...
2
votes
0answers
129 views

SSH AuthorizedKeysCommand and SELinux

I'm trying to use the SSH AuthorizedKeysCommand in a CentOS 6.5 machine, but I'm encountering an SELinux error. When I switch SELinux to permissive mode - using setenforce 0 - it works, but when I ...
2
votes
0answers
42 views

Remote script cleaning up

I run a remote script using ssh: local script: local_command ssh -p 222 user@server 'sh -s' < ./remote_run.sh remote script: some_command & sleep 10000 trap 'echo exiting' SIGINT SIGTERM ...
2
votes
0answers
99 views

Using nvidia-settings over ssh

Now the new nvidia-driver has implemented CoolBits for the newer graphics cards I'm attempting to control fan/clock speed over ssh. When attempting to run anything with nvidia-settings via ssh I get ...
2
votes
0answers
207 views

How does SELinux / SEAndroid prevent or allow pseudo terminal allocation?

I'm trying to resolve an SSH connection issue on an Android phone running SELinux in "Enforcing" mode. The problem is that any SSH connection that tries to allocate a pseudo-terminal (/dev/pts etc) is ...
2
votes
0answers
2k views

fatal: bad ownership or modes for chroot directory component “/”

I used to be able to connect via ssh with the user I have created but now I keep getting: "Write Failed: Broken Pipe" and I can only connect as root In the ssh auth.log I get the following: ...
2
votes
0answers
40 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
2
votes
0answers
74 views

tmux: shared session, one user in a pane, another in another pane, two different cursors

I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to ...
2
votes
0answers
994 views

Unexpected “authenticity of host can't be established.”

Few months ago, I logged to server1 and scp files to server2. Now I want to do the same, but after the scp command I get message: The authenticity of host ... can't be established. RSA key ...
2
votes
0answers
147 views

Autofs home directories with passwordless logins

I want a setup where a user home directory is mounted on login (autofs). This is working with password based authentication. However, I want passwordless authentication, by generating public keys. ...
2
votes
0answers
583 views

Can't Install ImageMagick on Centos using Yum

I am trying to install ImageMagick on my dedicated-virtual Centos server for use with PHP. I first ran the following commands successfully: # yum install gcc php-devel php-pear # yum install ...
2
votes
0answers
25 views

Mount a workstation dir upon login to server over ssh

I'd like to have a local directory be mounted upon logging into a remote server via SSH. So if I were to ssh into foo.bar.com as user baz then there would be a directory mounted in /home/baz/roaming - ...
2
votes
0answers
177 views

SSH login from external authentication

Here is what I try to accomplish: I have a server with a git repository. I use ISPConfig as control panel for our websites and I want to integrate the ISPConfig API for email authentication as second ...
2
votes
0answers
149 views

Why is my /etc/hosts.deny file being ignored?

I am using a small embedded linux setup generated by buildroot to run on a x86 device. It was generated to use busybox init system and also runs dropbear so I can ssh into the device. I wanted to ...
2
votes
0answers
91 views

SSH + Certificate Authority server?

Is it possible to setup SSH (via pam for instance) to check the public key of the connecting client against a CA server? I've tried with gnupg (via gpg-agent --daemon --enable-ssh-support) and also ...
2
votes
0answers
119 views

Let remote ssh session know about tmux?

Assume I run a tmux session on machine A and from it I start an interactive shell via ssh to machine B. I'd like to change machine B's PS1 to better suit the use from under tmux; for instance, I'd ...
2
votes
0answers
1k views

How do I force ssh to use a second interface with higher metric?

I have a Crunchbang VM with two interfaces, eth0 and eth1, each of which connects to an OpenWRT VM (eth0 being 10.232.64.20 and eth1 being 10.232.65.20). I'm using Network Manager and DHCP. My ...
2
votes
0answers
277 views

Webmin alternative that installs & runs on the client machine & communicate via SSH

Are there any Webmin alternatives that don't consume server resources but instead install on client machine & communicate via SSH client. So effectively all the actions made on that GUI are ...
2
votes
0answers
202 views

Mint changes default route when eth0 comes back and breaks existing tcp connections

I have two interfaces on my laptop (eth0, wlan0). lets say I am moving away from desk and connecting to an internal network A using openvpn software which uses wlan0 as gateway. I then ssh to a few ...
2
votes
0answers
1k views

How to run ssh -t user@remote 'sudo nohup bash -c “comand”' in background

I want to run a script on a remote host with sudo privilege, someone suggests that I should use nohup and ssh -t, like the following command: The script ls; sleep 10; echo finish is crafted here to ...
2
votes
0answers
74 views

Why isn't hydra being disconnected?

I have SSHD running on port 5800 on some machine. (It is a my machine at home.) If I run this manually in a terminal: # ssh someIP -p 5800 The connection is lost because I am disconnected after 3 ...
2
votes
0answers
85 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
933 views

How to set ssh access for user on debian?

I set groups: usermod -G ssh username and then I've checked account info: id username the result is: uid=1000(username) gid=1001(username) groups=100(username) Anyway if I try to login using ...
2
votes
0answers
258 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 ...
2
votes
0answers
112 views

Why do I get a different RSA fingerprint when multihopping using ProxyCommand

I'm using the following config to connect to multihop to the target host (gw2 and target have my public key stored in the authorized_keys file ; no netcat on all systems): Host gw1 HostName ...
1
vote
0answers
49 views

Cannot SSH after switching to Netgear router

I have Comcast Xfinity internet. When I was sent their Wifi router/Cable modem combo box, I was able to use SSH perfectly. However, since the Wifi from the box was weak, I decided to buy my own ...
1
vote
0answers
72 views

Load a background image or set the background color if Konsole/Shell is running SSH

I want to set my laptop to load an image in the shell's background or set the background color to red if I'm connected via SSH. How can this be done? With a bash function in .bashrc? I have: Set the ...
1
vote
0answers
10 views

xvfb-run aborting on cluster

I'm trying to run a python script with xvfb-run on a cluster using SLURM; when I use an interactive session (srun) it works fine, but when submitting to a queue (sbatch) it aborts/fails without much ...
1
vote
0answers
27 views

sshd suddenly wants a passphrase from Linux box, but not from windows (putty)

My Amazon EC2 instance running Ubuntu is no longer letting me ssh in via my local Linux system. I haven't changed a darned thing on either side but now it wants a passphrase and says nope when I ...
1
vote
0answers
23 views

Kerberos Forwarding in SSSD

So, I'm trying to set up forwarding with Kerberos and seem to have some problems. On some of my servers I'm able to forward after receiving a ticket; however, some I'm not. My system setup is a ...
1
vote
0answers
50 views

Server freezes because of fail2ban

Lately I've experienced some problems with my server freezing or having network problems (I can't really tell which at this point). I'm running OpenSSH on port 443 and it seems fail2ban's anti SSH ...
1
vote
0answers
42 views

How to setup ssh over USB on an embedded linux device?

I have an embedded linux device with an ARM processor. I am connecting to it over a USB port using minicom. What should I do to "ssh" into the device through the USB connection? I want to setup ...
1
vote
0answers
38 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 ...