Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

learn more… | top users | synonyms

6
votes
0answers
10k views

Can't connect to SFTP: Received unexpected end-of-file from SFTP server

When i try to use SFTP via filezilla to connect to my CentOS 6.6 server i get the following error: Status: Connected to (redacted) Error: Received unexpected end-of-file from SFTP server Error: ...
5
votes
0answers
6k views

scp exec request failed on channel 0

I am trying to scp files from one computer to another however I get a "exec request failed on channel 0". When I use ssh however, I can get to the machine with no problems. I am using the scp function ...
4
votes
0answers
447 views

SSHFS graceful degradation instead of freeze when connection is lost. Is it possible?

A third-party program will write files to a SSHFS mounted dir. If the internet connection is lost, the third-party program will likely crash (badly), because all programs trying to access such an ...
4
votes
0answers
5k views

FreeSSHd + WinSCP: “Server refused public-key signature despite accepting key!”

I'm trying to gain access to my Windows 2008 R2 server via SSH. I have a Remote Desktop connection, but I need to upload my files to the server. For SSH servers on the Windows server, I've tried ...
3
votes
0answers
39 views

Ubuntu 14.04, SSH very slow when not running Unity

I'm running Ubuntu 14.04. I have it so that it boots up into the text-based login. I will only be using SSH to gain access to the computer. When I logged in via SSH, all key presses take a long time ...
3
votes
0answers
44 views

Why would it be faster to hop SSH with pseudo-tty versus forwarding?

I have noticed that on my office's network, multi-hop SSH connections using the "pseudo-tty" method perform better (see last note) than using the "forwarding" method. Why would this be the case? In ...
3
votes
0answers
44 views

SSH can't read a key from custom authorized_keys file because of a comma

I inherited some code; among other things, there is a custom authorized_keys file with X.509 keys in a format like this one: x509v3-sign-rsa subject:O=GrandsChocolatiers Ltd.,OU=Management,OU=Top ...
3
votes
0answers
122 views

GPG agent over SSH (with vagrant)

I'm using vagrant for building and signing my debian/ubuntu packages but I'd prefer to not have have to copy my GPG keys into the virtual machine just to sign packages. It just feels insecure. Is ...
3
votes
0answers
68 views

ssh-add: how to automatically insert private key passphrase?

I'm using ssh-add to add a private key in order to call lftp after that. It happens that my private key contains a passphrase and I need to automatically fill it when required. I'm able to overcome ...
3
votes
0answers
433 views

SCP error 'unable to open'

So, I set up a SSH server (freeSSH, win7) and can connect to it just fine with PuTTY. I then tried to use pscp to transfer a file (foobar.txt, from client to server). I cd-ed to the dir pscp.exe was ...
3
votes
0answers
403 views

How to set timeout for svn update?

I have about hundreds of server(all has its own working copy), fabric(python ssh tool for administration) will issue multiple svn update to those machines, many commands (10% machine) return ...
3
votes
0answers
568 views

git clone extremely slow using ssh

Originally I could do git clone using ssh at an acceptable speed. However my ubuntu crashed, so I reinstalled using the newest version 13.04. After I re-installed all I try to do git clone using ssh ...
3
votes
0answers
480 views

Ubuntu SSHFS doesn't sync

I am trying to set up a Ubuntu-machine for web development, and thought i'd start working with SSHFS instead of the annoying FTP-protocol. I installed SSHFS through apt-get. I've created a folder in ...
3
votes
0answers
851 views

ProxyCommand with sudo

I'm trying to set up SSH so that I can easily log into an server that is accessible only via a sudo to an intermediate server. From the command line, logging into it is of the form: sudo -u admin ...
3
votes
0answers
312 views

TortoiseGit stops connecting after a seemingly random amount of time

I use TortoiseGit to connect to a private remote git server, but after an indeterminate amount of time (possibly longer than 6 hours?), trying to connect results in a bad file number error. I've tried ...
3
votes
0answers
116 views

Changed home directory permissions on remote server, can no longer ssh into it

I changed the permissions on my ~ directory, and according to this question about ssh and home directory permissions I can no longer ssh into my remote server because it rejects my public key. Is ...
3
votes
0answers
583 views

gpg-agent asks for ssh password, although the private key has no password set

I am using gpg-agent to manage my github ssh key. I generate my (private) ssh key via openpgpg2ssh from my private gpg key. Unfortunately, although my private gpg key is not password protected, ...
2
votes
0answers
85 views

SSH tunnel and corporate proxy

The scenario is as follow: 2 computers (PC1 & PC2) Both access internet using an HTTP Proxy that requires authentication. I ssh to PC2 from PC1 using: ssh -D 8080 user@PC2_IP -v The tunnel is ...
2
votes
0answers
60 views

How to find out the reason why ssh processes are hanging?

When i run command like iostat -dkx 2 2 via ssh, I get the expected result, but the processes on the local computer are saying alive in status "interruptible sleep". Why is this happening? Is there a ...
2
votes
0answers
43 views

msys2 network performance woes

With a fresh install of msys2 32-bit (needed for git-annex) from https://msys2.github.io/ on Windows 7 SP1 64-bit, I'm seeing incredibly slow network transfer speeds on wget, ssh, rsync, etc. For ...
2
votes
0answers
88 views

What may cause .ssh/config changes to be ignored

I had a ~/.ssh/config file that was working fine. it was in this format: Host * IdentityFile ~/.ssh/id_null TCPKeepAlive no ServerAliveCountMax 5000 Host *.domain.com User mydomainuser ...
2
votes
0answers
187 views

ssh disconnect: broken pipe

When I'm connected to an ssh server, I often get disconnected with the error packet_write_wait: Connection to 131.225.190.20: Broken pipe I'm connected via cable. I don't see any instabilities in ...
2
votes
0answers
37 views

Typing “Ctrl+R” only lets me type a single character when I'm connected via SSH

I connect to my server via ssh (PuTTY). Type Ctrl+R at the console. Type a single character. I can cycle through the previous commands by pressing Ctrl+R more times. But if I type another character ...
2
votes
0answers
147 views

SSH2 connection issues on Ubuntu 14.04 - it randomly works when it wants to

So I've been digging around for a solution and cannot find an answer for this. Setup: I am using Eclipse Mars (v4.5) running on Win7 with a Linaro ARM-Linux tool chain. Eclipse has a remote host setup ...
2
votes
0answers
498 views

Putty error “Network error:Software caused connection abort”

I am trying to connect to host server using putty (for SSH). In putty I enter my server's IP and port as 22 and when click 'open' get this error of connection abort and putty becomes inactive. I tried ...
2
votes
0answers
153 views

SCP - The authenticity of host can't be established (But cant enter anything at prompt)

In windows 7 command prompt I enter: scp -W Scp\password.txt -P 22 xxxx@xxxx.xxxx.com:/home/xxxx/xxxx/xxxxxxx.csv After this I get the message: Do you want to trust this new host key and ...
2
votes
0answers
55 views

systemd - get dropbear to only look at openvpn interface

I am trying to configure dropbear to do the following. 1) Only listen on port 22 of the tun0 interface (made by openvpn service). 2) Only use public key authorization. I see that dropbear.socket is ...
2
votes
0answers
97 views

SSH breaks after sending traffic through it using a socks5 proxy (Write failed: Broken pipe)

I run the following command at home on my local Linux machine: ssh -D 10.0.0.1:443 -C user@internet-server -p 21 This opens a listening socket on port 443. Then on another computer I connect to ...
2
votes
0answers
628 views

Simplest way to setup my own remote private git server

First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
2
votes
0answers
354 views

Cannot connect SSH through PuttY even though server is online

I'm trying to connect to a server via SSH. The server is reachable according to http://www.infobyip.com/sshservertest.php and SSH works without problems on Android (JuiceSSH). However, PuttY errors ...
2
votes
0answers
77 views

slow scroll in ssh connection after a while (why?)

Remote server with screen. After some time any command with a lots of lines of output causes significant scroll lag. It happens with different terminal emulators: konsole, xterm, lilyterm, ...
2
votes
0answers
384 views

Can 't login to ssh DD-WRT router,but telnet can

I have TP-link which i re install the DD-WRT firmware on tp-link WR740N and the firmware version is : DD_WRT v24-sp2(03/25/13)std -build 21061 so i can login to router using only web interface and ...
2
votes
0answers
547 views

Password required when trying to ssh into a server using Cygwin on Windows 7

I'm trying to set up a server at our company, and one of the things I'd like to be able to do is host public Git repositories on it which I can access over ssh. Both the server and the workstation I'm ...
2
votes
0answers
173 views

ssh-agent installed with git 1.9.5 faults

I am getting a fault when running ssh-agent from windows 7. I think it could be a permission issue, though UAC is off. ssh-agent.exe SSH_AUTH_SOCK=/tmp/ssh-vDq8tk2Qlatv/agent.10256; export ...
2
votes
0answers
153 views

clipboard between osx and linux over ssh

My dream: From my osx machine I ssh to a linux machine and can copy paste with a commandline application like xclip or pbcopy, and then be able to use it on my host machine. Example input (mac)$ ...
2
votes
0answers
825 views

SSH Public Key Auth doesn't work under clean reinstall of OS X Yosemite

After a clean reinstallation of my MacBook Pro with current Yosemite, the SSH login to all my servers using Public Key auth stopped working. Generating a new Public Key out of my Private Key and ...
2
votes
0answers
397 views

SSH tunnel freezes and says “administratively prohibited” when a domain cannot be resolved

So I am opening a SSH tunnel to a remote server to use it as proxy: ssh -D 10000 -N remote I use FireFox with FoxyProxy and it is working quite well. Except sometimes the tunnel freezes. A good ...
2
votes
0answers
57 views

Can not connect to VirtualHost when VPN

I run VirtualBox on my local machine with Ubuntu which hosts my application. Application URLs points to VM IP Address in my hosts file (/etc/hosts). And this configuration works fine. I can also ssh ...
2
votes
0answers
28 views

How to Prevent S3/Suspend on F20 when an SSH Connection is Active?

I'd like to prevent an F20 box from entering sleep mode when an active SSH connection is established. Back in the days of pm-utils this task was simple enough -- all that was necessary was to place ...
2
votes
0answers
777 views

Play sound *on* remote machine via ssh on Ubuntu / Linux

I want to play sound on a remote machine via SSH, without X11 involvement. Basically, after logging in via ssh, a command line like mpg123 test.mp3 should play the test.mp3 on this remote ...
2
votes
0answers
258 views

Invoking a local command on every successful connect when using ssh multiplexing?

I'd like to automatically run a command every time I successfully connect to a remote host via ssh. I can do this for the first connection to each host using the PermitLocalCommand yes and ...
2
votes
0answers
266 views

share local and remote tmux sessions

There seem to be many related questions but I'd like to see a specific workaround. So, I used to be an avid iTerm2 user (irrelevant) and I started using tmux remotely because I want to avoid SSH ...
2
votes
0answers
888 views

Can't get private GitHub repos to work with Vagrant/Puppet on Windows

I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
2
votes
0answers
1k views

SSH reverse proxy

I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
2
votes
0answers
216 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
2
votes
0answers
483 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
2
votes
0answers
5k views

Irritating CTRL and ESC key in connectbot for android

I have a galaxy note 10.1 and a physical blue tooth keyboard that comes with it. I downloaded ConnectBot because I wanted to SSH to my web servers and use VIM to edit html of web pages. VIM is ...
2
votes
0answers
253 views

Import ~/.ssh/config into Putty

I have a large amount of servers configured in my ~/.ssh/config on my Linux workstation. Currently I am however using a Windows workstation most of the time, and I'm wondering if it's possible to ...
2
votes
0answers
46 views

How to execute program via ssh on a remote machine display

I'm using Linux as a client and windows as a server and I want to display executing program on my windows machine (something like -display :0 option in X systems) wihout installing additional software ...
2
votes
0answers
521 views

Mounting shared directory for chroot users

I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of ...