Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

5
votes
0answers
2k views

Windows 7 putty unable to connect, but works in safemode

Ok so I have been trying to get putty to run on windows 7, with very little luck. Here is the event log from putty: 2012-08-09 15:23:28 Looking up host "redacted ip" 2012-08-09 15:23:28 ...
5
votes
0answers
5k 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 ...
3
votes
0answers
24 views

SSH Connection freezes after minutes of unuse?

I run a RaspberryPi with Raspbian operation system. I have installed a WLAN stick and connected the pi only over WLAN to my network. I can access the pi with ssh pi@pi-ip-address This works fine ...
3
votes
0answers
63 views

SSH with two factor authentication

I am trying to use two factor authentication on my server so that when I ssh from my mac terminal it will ask a username and password as well as performing two factor authentication. I checked and ...
3
votes
0answers
395 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 ...
3
votes
0answers
3k 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 ...
2
votes
0answers
17 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
48 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
36 views
+100

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 ...
2
votes
0answers
18 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
42 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
93 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
38 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
33 views

Can I turn an SSH dynamic port forward to a VPN to use for the whole system?

I can create a socks proxy with ssh dynamic port forwarding and set my web browser to use it, but I want to use that route for the whole system. Is there a way for doing that? Can I turn that socks ...
2
votes
0answers
148 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
99 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
77 views

ant <scp> support for ssh-agent

I have an existing build.properties file that uses scp like this: <scp todir="${linux.user}@${linux.site}:@{todir}" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" trust="yes" ...
2
votes
0answers
600 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
236 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
21 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
112 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
141 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
400 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
2k 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
114 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
210 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 ...
2
votes
0answers
45 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
278 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 ...
2
votes
0answers
117 views

Change group or permissions when a file is moved to a shared directory on Linux

I've set up a Linux server accessible with ssh and Samba share. Every user has his own folder USER/ and a public folder USER_public/. Permissions on the USER_public/ are set up using setfacl in such ...
2
votes
0answers
636 views

Shared connection frequently closes when opening a new connection

I'm making heavy use of reusing a shared connection which I open to a remote box at the beginning of my workday. My .ssh/config looks somewhat like this: ControlMaster auto ControlPath ...
2
votes
0answers
85 views

SSL cert owner != localhost after creating SSH tunnel

I use an SSH tunnel to connect to my work's mail server, then tell my mail client to connect to server "localhost" on port "1993" (the port I chose for the tunnel). I have two different Ubuntu Precise ...
2
votes
0answers
120 views

PHP ssh2_fingerprint() does not match ssh-keygen -lf id_rsa.pub

I am using the lib ssh2 module with PHP and calling the function ssh2_fingerprint() to get the keys fingerprint. According to all resources on the internet, I can get the fingerprint of a public key ...
2
votes
0answers
252 views

Thin client PXE boot

Basically here is what I'm trying to do: I'm trying to boot a client remotely (using PXE boot). Over PXE boot I want to start a minimal linux distribution with X and ssh. Then I want to connect using ...
2
votes
0answers
246 views

GUI ssh clients for mac?

Is there a GUI ssh tunneling client for mac that supports jump servers? Mulitple hops? I have tried: coachilla SSH tunnel manager Tunnelblick tunneling manually through terminal is fine, but time ...
2
votes
0answers
392 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
2
votes
0answers
241 views

Mobileorg not finding emacs org file with ssh server (but it is there)

I'm just getting starting using org-mode with Emacs - I thought I'd use it as an alternative to Evernote. Having it on my mobile is pretty important (I'm using the Android version). I'm getting the ...
2
votes
0answers
99 views

Escape key strangely captured by javascript webshell

I am using GateOne as a WebShell on my VPS (only way to SSH to it through the proxy of the place...), it uses javascript to emulate a shell by capturing keystrokes. Everything works well, yet it ...
2
votes
0answers
499 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 ...
2
votes
0answers
456 views

How to route internet through SOCKS proxy running on iPhone?

I have a jailbroken iPhone 3GS that I have set up a SOCKS proxy on using the following command: ssh -D 3333 ec2-user@ec2-12-345-678-910.us-west-2.compute.amazonaws.com I would like to share this ...
2
votes
0answers
525 views

Launchd not launching ssh-agent after plist edit

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument. I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist <array> ...
2
votes
0answers
579 views

SSh tunneling over WiFi

I have a PC with a WiFi adapter. I use SSH tunnelling on that PC. Now I want to share my Internet connection on that PC via the WiFi card to my other device,i.e., I want a way to send traffic via SSH ...
2
votes
0answers
99 views

SSH through a tunnel or directly depending on the network I'm conncted to

Is it possible to "automatically" configure ssh to use a gateway to connect to a remote machine based on the client's IP address or something in the likes? Suppose I'm at my laptop, which I can plug ...
2
votes
0answers
342 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 ...
2
votes
0answers
634 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 ...
2
votes
0answers
196 views

Different behaviour when ssh to Windows Cygwin server, depending on password-less or not

I have configured my OpenSSH server on a Windows XP system. Everything is working fine... though it is depending on the way you connect on the machine. Details : - on Windows side, in a domain ...
2
votes
0answers
304 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 ...
2
votes
0answers
1k views

Why is ssh login occasionally failing?

I'm using ssh to execute commands on another host and have noticed that occasionally the connection is closed before it ever connects. Both hosts are CentOS release 6.3 running OpenSSH_5.3p1, OpenSSL ...
2
votes
0answers
750 views

SSH connection timed out Win 7 Cygwin

Trying to establish ssh connection to my own computer. Running cygwin on Windows 7. Have openssh installed using this guide: ...
2
votes
0answers
376 views

Multiple SSH Connections over different connections

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need ...
2
votes
0answers
862 views

HTTPS hangs using SOCKS5 proxy over SSH tunnel

Using SecureCRT at work to connect via SSH to my home Mac using a SOCKS5 proxy (my company also has a corporate proxy). I am using Chrome and Firefox with this SOCKS proxy. Regular browsing is quick, ...