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

3
votes
0answers
44 views

Router eavesdropping on SSH tunnel?

So I'm on a public WiFi network that blocks websites like YouTube in order to conserve bandwidth. I'm assuming the router is monitoring all traffic and rejecting all requests sent to the sites on its ...
3
votes
0answers
228 views

Why am I suddenly unable to write to this sshfs volume?

There is a remote server which I connect to daily through ssh. I do a lot of editing of files on the server, so I use sshfs to do so. I mount the directory with $ sshfs user@host:/var/www/html ...
3
votes
0answers
170 views

How to encrypt rsync communication? (rsyncd + stunnel, vs rsync over SSH, etc)

I don't know much about the specifics of rsync, SSH, stunnel, etc, but I'm looking for a way to make rsync backups, but the transfer of data over the network must be encrypted (the credentials, and ...
3
votes
0answers
1k 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 ...
3
votes
0answers
649 views

Why does ssh disconnect, complaining about a corrupt packet?

I run a cluster of 5 computers and I have used ssh-keygen to allow for keyless entry from my main computer to any of the 5 remote computers. A single router connects my main computer with a network ...
3
votes
0answers
4k 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 ...
2
votes
0answers
29 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
21 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
96 views

“chmod -R 777 /” for a few seconds - now what?

On Centos 6.5 I accidentally typed chmod -R 777 / Ooops. I CTRL + C'ed out of it very quickly, but not before it'd started working away for a couple of seconds. Consequences? Well, already su ...
2
votes
0answers
86 views

Making SSH connection to Centos 6.5 VM takes ages

I installed Centos 6.5 in a Virtual Box VM. Everything works smooth, except for SSH logins. It takes ages for the command prompt to display. With some verbosity added: debug2: kex_derive_keys ...
2
votes
0answers
85 views

Tunneling ssh via a SOCKS5 Proxy on Windows

I'm using Windows 7 over my 'restricted' campus network. I use Heroku Toolbelt to work with heroku projects, which inturn uses git and ssh on port 22. However, port 22 is blocked in my campus. Can i ...
2
votes
0answers
47 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
85 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
2
votes
0answers
52 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
155 views

Reuse Linux SSH-Key with MacOS

I want to use an SSH-Private-Key generated on Debian 7 with my MacOS-Machine. So I copied id_rsa and id_rsa.pub to .ssh/ on my Mac. The Key is recognized, but every time I enter my passphrase the ...
2
votes
0answers
742 views

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out ...
2
votes
0answers
184 views

SSH freezing with ControlPersist on

I recently enabled ControlMaster and ControlPersist in SSH so that it reuses and multiplexes connections for speed. The config is: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist ...
2
votes
0answers
199 views

SSH tunnel opened with autossh closes every few days

I keep an ssh tunnel open with autoSSH. Every few days the tunnel seems to sporadically close. I do a ps -ef | grep autossh, and autossh is still running. Occasionally autossh will output Warning: ...
2
votes
0answers
290 views

how to get git on solaris webspace?

I'm renting webspace with SSH access and I want to host a GIT repository on it. The problem is that GIT is not installed on the server, which is running Solaris and therefor it is difficult for me to ...
2
votes
0answers
64 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
98 views

ssh: propagate signal to remote process

This is the general version of: Send SIGTERM signal to a process running inside ssh It is possible to send Ctrl-C to the remote process if the process gets a pty (-tt): # Runs for 5 seconds (sleep ...
2
votes
0answers
333 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
243 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
2k views

scp “lost connection” but ssh works fine

A server I can ssh into fine has begun refusing to scp. $ scp ~/tmp/foo user@some.example.com:~/tmp/ lost connection With scp -v -v I can see the connection succeeds and the transfer appears to ...
2
votes
0answers
79 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
153 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
124 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
191 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
336 views

TortoiseSVN connect via ssh: Network connection closed unexpectedly

I am trying to connect to an SVN repos via the svn+ssh protocol on Windows7 (32-bit). I have the server set up fine and can connect from my Linux box. When trying to connect from my W7 machine (I have ...
2
votes
0answers
729 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
505 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
301 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
728 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, ...
2
votes
0answers
2k views

SSH tunnel over HTTP(S) proxy (Reverse RDP)

I've been trying to accomplish this scenario: HOST_WORK is behind non-transparent squid_proxy (its not, but to get outside you need to use it, all other packets are black-holed on gateway not to ...
2
votes
0answers
297 views

What is the most MTU efficient way of creating a network tunnel?

I am currently using SSH tunneling to connect to the internet via a remote computer using the -D ssh argument. I've recently run across a problem with this solution -- the SSH protocol decreases the ...
1
vote
0answers
11 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
1
vote
0answers
19 views

Connection reset when trying to tunnel http/socks by multi-hop ssh

Involved machines: (client)A -- B -- C(exit) A/B is cygwin ssh/sshd, C is linux What I want: A's http(s) and socks traffic be tunneled through B,C. Destination is any IP, so -L alone doesn't ...
1
vote
0answers
14 views

Virtualbox remote access on ubuntu server

I explain the problem, I have to connect via ssh tunneling enabling x11, to a remote machine with ubuntu server, in detail: Host: Windows 7, the software used putty Server: ubuntu server virtualbox ...
1
vote
0answers
22 views

How to forward ports through ssh and nat to another machine

I have a problem when using ssh port forwarding and nat simoultaneously. Situation: Machine A runs a webserver on port 8080 Machine B is a raspberry pi which works like a little router. It has two ...
1
vote
0answers
16 views

Combining instructions to automatically RAR a folder in screen, process it, and then clean up?

I'm trying to create a single instruction I can execute in a Linux SSH session which will - Create a new screen session. Navigate to that screen session (if it doesn't automatically) Create ...
1
vote
0answers
21 views

How to connect to Windows remote domain from Linux know its gateway hostname?

I have credentials to connect to my University's reserved Linux virtual machine which means : username password gateway's hostname let's say secretgateway.net full hostname in .local domain let's ...
1
vote
0answers
34 views

Using an OpenPGP card to authenticate with a public-key in SSH on Windows

I want to use an OpenPGP card to authenticate with a public-key in Secure Shell. On linux, I know I can authenticate by using gpg-agent. But on Windows, I can't authenticate by using gpg-agent (a ...
1
vote
0answers
38 views

How was I able to login without a password and without authorized_keys?

I started with a box at Google Compute Engine (Google's cloud service) with an account named xyz and an ephemeral IP. Let's pretend the ephemeral IP was 2.3.4.5. Before I started the process below, ...
1
vote
0answers
38 views

Can I use a password ssh login on a passwordless windows 8.1 account? (Cygwin)

I recently installed Cygwin + OpenSSH (package) on Windows 8.1. However, I'm only using one passwordless Windows account on that machine, but I would like to login with SSH remotely with password (for ...
1
vote
0answers
22 views

Xfce terminal resize not sent across ssh

I'm running into some strange behaviour related to terminal resize updates not being sent across ssh. On my local machine if I open a terminal and do tput lines I get 24. Then making the window taller ...
1
vote
0answers
42 views

Trying to setup SSH RSA auth on a debian machine.

I am trying to set up ssh on a debian machine. I have a pair of keys generated with putty, I load my private key with Pageant, and the public one I uploaded on the server, and paste it in ...
1
vote
0answers
52 views

ssh to linux through ethernet bridge to windows

I have the following setup Wifi / \ / \ Fedora Desktop Windows 7 Desktop (10.0.1.16) (10.0.1.15) \ ...
1
vote
0answers
54 views

Port forwarding from router to machine in LAN not working

I have a domain, and am attempting to serve my website from a local machine. Port forwarding on my router does not seem to be working. Here is how I have it set up up, and what I've tried to narrow ...
1
vote
0answers
18 views

VIM + netrw: accessing a machine behind a gateway

I'd like to setup a vim session to edit some files on a machine behind an ssh gateway. Is this possible? To access the files via the command line, I have to do: mycomputer$ ssh gateway gateway$ ssh ...
1
vote
0answers
48 views

Cron deamon written in shell

I'm looking for a script in bash or ksh, that would do ... more or less ... the same as crond. The situation is, that our system administrator suddenly denied the use of crontab to all regular users ...