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

learn more… | top users | synonyms

4
votes
1answer
522 views

X client forwarded over SSH “cannot open display: localhost:11.0”

I have enabled X forwarding on remote machine where SSH server is running: # grep -i forward /etc/ssh/sshd_config X11Forwarding yes # On local machine, I have started SSH client with -X flag ...
3
votes
1answer
643 views

Command : must be run from a terminal

I have a shared hosting account, I logged using ssh. when I type for example su I had this output : su: must be run from a terminal Is this error relative to the fact that I don't have sufficient ...
3
votes
1answer
89 views

Intermittent ssh denial

The main server in my network (nothing less...) plays tricks with its ssh connectivity. It is a CentOS 6.4/64 (runs as KVM-based virtualization host with a dozen VMs on it). It receives its IP via ...
2
votes
1answer
90 views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
2
votes
1answer
58 views

use SSH tunnel to baypass Captive portal

I know that DNS tunneling is the good choice when we try to bypass captive portal, but i tried to do SSH tunneling instead of DNS but it doesn't works, technically speaking is that possible -bypass ...
2
votes
1answer
128 views

Auto restart ssh session after sleep

I have an active ssh session to a remote server that it would be nice to be able to restart upon waking from sleep/hibernate (ubuntu), and seamlessly restore tunnels. The Gnome Terminal window is ...
2
votes
1answer
32 views

Can't change to Korean-named directory on my debian server

I made a rsync backup of some directories from a macbook laptop to a debian server. Some of these have korean characters (Hangeul) in their names. After fixing my server's locale, it displays well ...
2
votes
1answer
137 views

accessing stdin/stdout of a process started in another tty

I logged in to my linux physically(say tty1) and started a process that watches stdin for commands and has some stdout-put. How can I access/use this process from a SSH session?
2
votes
1answer
93 views

Why is a user started process running when not logged in?

Following a tutorial on setting up gnupg to manage ssh keys I've managed to get several instances of gpg-agent running: [root@frylock ~]# ps aux | grep agent root 2764 0.0 0.0 4208 432 ? ...
2
votes
1answer
242 views

Can't login to remote debian system with RSA key and ssh.exe from Cygwin

I need to login to a Debian server using ssh.exe from Cygwin. I've generated an RSA key and appended it to the authorized_keys file. Debian is OK, because I was able to use the RSA key using PuTTY ...
2
votes
1answer
66 views

How can I use ForwardAgent with keychain, or detect a new login?

My scenario: I have Server A at home, and Server B at my parents house. I also have Laptop A and Laptop B at home. I do all sorts of strange ssh hops - I might connect Laptop A -> Server A -> ...
2
votes
1answer
92 views

ssh-add -D doesn't erase stored keys from the ssh-agent

How come this happens?: stan@tcpc:~/.ssh$ ssh-add -l 8192 e0:45:5e:cc:45:3e:17:2b:a6:54:6f:8d:53:1b:j2:e3 github (RSA) 2048 25:41:53:a6:45:5d:ac:eb:5c:45:f8:ce:42:a9:he:aa BITBUCKET (RSA) ...
2
votes
1answer
320 views

How do I push a Mercurial repository to BitBucket over ssh?

I created a public key for ssh and registered that key with BitBucket. I then attempted to push: $ hg push ssh://jhayward@bitbucket.org/johncharrell/[project name] pushing to ...
1
vote
1answer
36 views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
1
vote
1answer
45 views

ssh connection fails after login at one user

Have server with 2 users - (e.g. - user and root). SSH login to root works corrctly. But I can't login to user - it immediatelly fails with "write failed - broken pipe" after login. ssh -vvv ...
1
vote
1answer
49 views

Why can't I run Gnome apps over remote SSH session?

Logging into a remote host using ssh -X me@host, I successfully run gnome-terminal -e "tail -F /var/log/file" &. When I log off and then try the same thing the next day, I get this: Failed to ...
1
vote
1answer
58 views

Directx application using wine over ssh -x

I'm trying to run a Windows app (Artemis video game - server mode) on my archlinux server. As it is an windows application I have to run it using Wine. As I'd like to be able to launch the server ...
1
vote
1answer
38 views

Give an access to Internet to a server reachable by SSH but where Internet is blocked

I can use my home computer A to connect by SSH to a server B where access to the external network is blocked. In other words, all requests to Internet from B throw an error: Network is unreachable. ...
1
vote
1answer
292 views

ssh_exchange_identification: Connection closed by remote host on vnx machine (linux)

I changed the password of my linux machine . I was able to login for sometime and after that I am not able to ssh. I am getting the following error: ssh es4042cs -v OpenSSH_5.1p1, OpenSSL ...
1
vote
1answer
53 views

Autocompletion and coloring not working, when using ssh in emacs shell

I'm connecting to remote server using emacs shell. Emacs shell displays directory listings with proper coloring and auto completion when working with local machine. But when I use ssh the ...
1
vote
1answer
143 views

Get screenshots of a Linux machine that I connect to remotely with PuTTY

My setup is this, I connected my Cent box via PuTTY on windows 7, I've Xming and using X11forwarding to have GNOME in windows. Now when I did gnome-screenshot in putty, I cannot have the CentOS ...
1
vote
1answer
2k views

Meaning of “Connection closed by xxx [preauth]” in sshd logs

We have a Windows batch script, which connects automatically to a linux server via PLINK (putty). There is NO public private key authentication, the user and the password are in the script. On our ...
1
vote
1answer
53 views

I've installed a Public Key, but my login doesn't ask for the passphrase

I'm following this tutorial SSH Tutorial for Linux I've manually transfered the public key to the remote server and I ran these commands also because it wasn't asking me for my passphrase. chmod ...
1
vote
1answer
98 views

failure in connecting to my server through ssh

My goal: I want to be able to ssh to my workstation from external client. My workstation(in the following also referred as server) is on a lan. Its ip address on this lan is obviously different from ...
1
vote
1answer
94 views

Is it possible to use a VMWare VDI as a proxy for SSH?

I'm currently working for a company with quite strict security measures. 90% of my work takes place on a Linux machine, but to access this machine I first have to connect to a VPN, access a Windows ...
1
vote
1answer
310 views

Dynamic port forwarding using socat

I'm trying to replicate the functionality of ssh -D <PORT> user@machineX to tunnel all my traffic from my current machine via machineX. I do not need the ssh shell open at all, I simply wish to ...
1
vote
1answer
179 views

Remotely compile and run program using ssh and screen

I'm trying to compile and run a program remotely. However, I'd like to this within a screen and also I'd like to run this using grid engine on another node after I ssh. Currently I have: ssh ...
0
votes
0answers
28 views

Mount a dropbox directory without installing the dropbox application

This is most likely to be a duplicate question, but I could not find a simple answer for my problem. My situation is as follows: I have multiple accounts on different computing clusters. I want to ...
0
votes
0answers
29 views

Dropbear SSH on Cygwin won't allow passwordless login

I am using Dropbear SSH running on Cygwin, on Windows 7, on a VMware virtual machine, on Windows 8.1. On my physical OS I have Cygwin and I am trying to get passwordless login using openssh on ...
0
votes
0answers
27 views

How to add Public IP to Cent OS

I am trying to configure a Public(Static) IP in Cent OS 6.4. For this, I made a copy of eth0(added local IP, so that I can connect the system to Internet) and named it to eth0:0(added Public IP, so ...
0
votes
0answers
17 views

Is it possible to attach `kinit` to the first attempt to `ssh` without a Kerberos ticket?

My university uses Kerberos-based authentication for login to our unix servers. One way to get passwordless login is to run kinit, type my password, and then run ssh@host. For this setup, I do the ...
0
votes
0answers
32 views

Shell script use ssh forwarding to send a file to a second system

I have ssh forwarding enabled and ssh to server A. On server A I want to run a script as root and take advantage of the ssh key being forwarded for USER to send a file to system B. I'm getting a ...
0
votes
0answers
36 views

ssh can't connect to CentOS at login screen

I've a server that running CentOS 6.4 final, I tried putty to connect at login screen, it show Network error: Connection refused, but it works while I've logged in to server. Anyone know what's going ...
0
votes
0answers
39 views

gpg-agent asks for a passphrase, but ssh private key doesn’t have one

I am migrating from ssh-agent to gpg-agent now and I also have a bunch of ssh keys, which are loaded at startup. The keys do not contain passphrases, but after calling ssh-add <filename>, ...
0
votes
0answers
88 views

On ssh connection the auth.log shows as source IP the external IP of the server instead of the IP of the client

I have a very odd situation with my ssh connection. Every time I connect to my server, whatever is my external ip, the connection have as source the server's external ip. Example Server S.O.: ...
0
votes
0answers
35 views

How to upgrade Fedora OpenVZ container over SSH?

what is the standard procedure for upgrading Fedora (18 to 19) that runs as an OpenVZ container on my VPS via SSH? Can I simply use fedup or does the admin have to perform the upgrade from outside of ...
0
votes
0answers
19 views

How to install memusg tool

I've tried with yum install memusg but returned: Loaded plugins: fastestmirror, security Setting up Install Process No package memusg available Error: nothing to do Any solution
0
votes
0answers
115 views

OpenSSH hangs after login without showing login prompt

I ran across an issue with ssh after fresh Ubuntu 13.10 installation on Lenovo T420. I tried git pull (which failed) and this led me to more general ssh failing. After spending some 2-3 hrs of ...
0
votes
0answers
100 views

How to restore a DD image file in my primary disk on new debian server

I have a dedicated Debian server at Online.net and I want to change the server by a more powerful (always Debian OS). For that, I have made an image on my old hard disk with this command: dd ...
0
votes
0answers
59 views

CTRL meta key 'sticky' in GUIs over X11 forwarding from CentOS to fedora

Despite numerous problems, I managed to get X11 forwarding working from a SSH server running on a CentOS host to a Fedora client (changing various settings and finally fixing it by installing a ...
0
votes
0answers
103 views

Jailkit not working properly when connecting remotely from iPad via SFTP app

I used jailkit to add users and restrict them to a jail directory. It works for Linux and PC clients connecting to the ssh server but when I connect with iPad it gives them access to everything. I ...
0
votes
0answers
713 views

ssh-agent not getting set up (SSH_AUTH_SOCK, SSH_AGENT_PID env vars not set)

I set up a new user account for a friend on Kubuntu 12.04. When he uses ssh he gets this error: Could not open a connection to your authentication agent We're running ssh in some bash scripts. ...
0
votes
0answers
157 views

NFS vs SSH -YC - Which one is faster?

I frequently need to remotely run some programs (such as matlab) installed on my server. I used to mount the required nfs directories on my local machine (via etc/fstab). Recently, for some reasons, I ...
0
votes
0answers
68 views

mouse doesn't work in remote gui applications using x11 forwarding

I am using dual screen mode. I can use the mouse in the remote GUI applications like emacs, but it only works if mouse is located within screen 1(where windows 'start' button is located). When I move ...
0
votes
0answers
685 views

Can't connect through ssh?

I'm running two OSes, one (Backtrack 5) as a guest in VirtualBox and the other (Ubuntu 13.04) as the host. Now when I connect to my host through ssh (host-only connection): $ ssh 198.168.*.* -vvv ...
0
votes
0answers
53 views

PBX randomly loses network connectivity and restores itself

I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
0
votes
0answers
209 views

Host reachable via SSH from my desktop but not my laptop

I try to use ssh to log in to a remote host. This works for my Ubuntu desktop, however, it fails from my Fedora 14 laptop. The failure means after I type ssh username@host and pressed Enter, ...
0
votes
0answers
134 views

Xdebug not working over a reverse shell

I've opened a reverse shell to my remote server to tunnel port 9000 to my local machine like this ssh -R 9000:localhost:9000 you@remote-php-web-server.com but but it doesn't work. The reverse shell ...
0
votes
0answers
203 views

Problem in using SSH tunnel

In a network, due to a reason that I don't know, I can't browse the web in Linux(In windows it has no problem). I get Error 301 moved permanently when I try to load a web page. I decided to bypass ...
0
votes
0answers
461 views

SSH cannot connect from Remote computer after a while

I can successfully connect to Debian via SSH. The problem is that after a while—1 or two days I think—it depends on the number of times I connect, Ii cannot connect remotely..only locally. ...