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

6
votes
2answers
1k views

Launching firefox on remote server causes local firefox to open the page instead

Right, this is strange. I am connecting from my laptop (LMDE) to a remote host (SUSE Linux enterprise) using ssh -X. I want to launch a Firefox instance running on the remote server so I can have ...
2
votes
0answers
594 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: ...
0
votes
2answers
73 views

tunneling ssh authorization

Do I need to have a private key on the interim server pc2? I want to connect to pc3 through pc2 without any possibility for pc2 to intercept or forge traffic from pc1 to pc3. I am on pc1. There is ...
0
votes
2answers
374 views

SShfs and security

I have following questions: If I mounting sshf mail@host:/home/mail ./foo Is it any way to restrict possibilities of mounting and to not give shell access? All I want is remote, secure storage for ...
1
vote
0answers
138 views

Svn analog of git-shell

I have configured git,so I can pull/push via ssh, authorization via public key, but if I try to make direct shell access, I get Last login: Mon Aug 13 20:12:20 2012 from 192.168.1.3 fatal: ...
1
vote
1answer
71 views

Access multiple SSH-controllable boxes centrally

I have a few SSH boxes running on an ESXi Host, of which I would like to access from outside my normal home network. Rather than port forwarding and pointing to all sorts of different VM's, is there ...
3
votes
2answers
321 views

ssh tunnel on university account

I'm trying to set up a SSH tunnel through to my university account (unix shell) from home using Putty and this guide but when I try to access any site, Firefox yelps. The connection to the server ...
4
votes
2answers
336 views

How do I “unlock” sudo for 15 mins after login?

It doesn't make sense to me that after authorising myself by logging in, I then have to separately authorise myself to sudo, potentially typing the password twice. This has all come to a head recently ...
0
votes
1answer
805 views

Connect to my LAN from outside my router (WAN)?

Time for some extremely rough ASCII art. |------| /LAN_B ME ->|ROUTER|->LAN_A-> -LAN_C |------| \LAN_D LAN_A is a server with the necessary exposed port(s) to ...
2
votes
1answer
104 views

Limit a user to VI and Tail

I'm running a server on centos 6.0 and I'm looking for a way to limit ssh access of one user to only tail and vi and only in their home folder. I found some guidelines to the home folder part but ...
1
vote
1answer
317 views

how to ssh virtualbox guest with host in bridged adsl connection

I have an ADSL bridged internet connection. My virtualbox host is windows 7 and guest is archlinux. (a) my guest ip is 192.168.1.x subnet 24 (b) Internet is available to both guest and host if host ...
0
votes
2answers
764 views

SSH over local unix socket

I'm trying to make a tunneling application to use SSH over a HTTPS connection, with a custom client and server at each end, where the custom client opens a unix socket that can communicate with the ...
0
votes
1answer
339 views

Why maldet shortcut command doesn't work but full path does?

As you can see in the screenshot, shortcut doesn't work but full path does. Any ideas how to fix it? I am logged-in as normal user then su to root, since direct root is disabled btw.
0
votes
1answer
1k views

Can I create a reverse ssh tunnel by using my Android phone as the middle man?

I am trying to connect my home linux laptop and my work Windows 7 computer. They are both behind NAT w/ firewall and neither allows port forwarding. I cannot control the NAT, firewall or port ...
1
vote
0answers
200 views

My username and password dont work on SHH Trixbox

I have a Trixbox Linux instaled (based on Asterisk distribution). I can acces the console normally with my root account. Its very simple, restart my machine, type login: root and password ***** and ...
1
vote
2answers
2k views

Create a new known_hosts file for openSSH in windows

So i have OpenSSH in windows 7 at a university and i am basicly having this problem: When i first use SSH it is trying to create the known_hosts file on my university network drive H: But this is ...
2
votes
1answer
236 views

Mount a filesystem (using FUSE) with SSH through two computers [duplicate]

Possible Duplicate: How to mount remote SSHFS via intermediate machine? Tunneling? I can mount a filesystem over SSH directly with $ sshfs hostname: mountpoint However, in order to ...
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 ...
1
vote
1answer
379 views

Fixing broken SSH on NAS server

I am very new to the Unix/Linux world, and at my workplace, I was trying to set up my user to be able to SSH into the NAS server (our NAS is made by netgear). I had never worked with this particular ...
1
vote
1answer
676 views

cwRsync could not resolve hostname

I previously used cwRsync to backup files from WIndows XP to a Linux server Now I am trying to use cwRsync on a Windows 7 PC (64-bit) to backup to a different Linux server I installed the free ...
3
votes
4answers
3k views

how to ssh two computers behind NAT and Firewall, without third computer

I am trying to ssh into my Linux box at home. My home is a dorm-style environment - NAT and Firewall with personal laptop running Arch Linux. My work is corporate style Windows 7 - NAT and proxy ...
0
votes
1answer
1k views

SSH Connection to Dreamhost server refused

I know there are many questions asked on this issue, but I am still not certain on how to solve my issue. I am at a location where my guess is the SSH connection is blocked. Using the same Macbook ...
1
vote
3answers
638 views

Why does my reverse SSH tunnel get closed after a certain amount of time?

I'm curious as to why my reverse SSH tunnel closes after a certain amount of time has passed while being inactive. Is this related to the specific ISP? I'm trying to reverse tunnel into a virtual ...
1
vote
4answers
2k views

keep SSH-port-forwarding connection alive

I am doing a permanent port forwarding via SSH. It is basically while true; do ssh <somewhere> \ -R <dst-port>:localhost:<src-port> \ -N -n ...
3
votes
2answers
605 views

running python command through ssh

I am using SSH secure shell to connect to the my remote server. I am using plone. When I go to the console through ./bin/instance debug I am able to execute python codes. However, when I write ...
0
votes
1answer
2k views

SSH (sftp) Server - DMZ or Port Forwarding?

I run an SSH server on my main machine. What are the security risks here, and advantages/disadvantages to port forwarding or a DMZ? Also, is there a way to tunnel an SSH server without making changes ...
2
votes
1answer
103 views

Simple DNS or just redirection for few names

PC1 is connected via VPN to server1 (s1) s1 is connected to pc1 via VPN tunnel and to s2 vie ssh. There is transparent proxy and iptables rules that take traffic from VPN and push to ssh SOCKS5. s2 ...
1
vote
2answers
373 views

Automate a remote rsync command using bash aliases?

I deal with lots of servers that often have files and folders which are not under version control. This means I can just git remote add if I need to work with the files on my local machine. With that ...
2
votes
6answers
3k views

Allow Putty store passwords

Is there any way to allow Putty to store passwords? Please note that safety is not an issue (private LAN), so the easiest solution would be to save the password in the Putty session (instead of using ...
3
votes
3answers
800 views

Why is it a lot faster to call rm on a directory than deleting a folder from the GUI (Linux) over SSH

Out of curiosity, why is it a lot faster to delete a folder / folders in Linux (I'm using Ubuntu) over SSH by calling rm -rf somefolder than deleting the folder from the GUI (right-click then "Move to ...
1
vote
1answer
90 views

When I login on a ubuntu server via ssh for my mac, I get the wrong PATH setting on the linux account

I have an ubuntu server, with a rails application. When I access directly that server, I have no problem with the setting of the path for my rails commands, but when I log trough ssh for my iMac, I ...
2
votes
2answers
763 views

how to enable vmware esxi 5 ssh interface

I'm trying to automate a set of operations across several virtualization stacks as a cloud-like experiment. So far, I have been having dificulties working with VMWare esxi 5 (free edition) After a ...
2
votes
1answer
614 views

Notify when normal user changes to root?

Would it be possible that when a normal user logs in to root via su command an email notification will be sent?
2
votes
2answers
117 views

Can I use an ssh client or something similar to run commands on the local machine from a remote machine?

I have a machine which I cannot ssh into. I would like to be able to have controll a shell session in it. Is there some way to have it connect out to another machine and for me to issue commands on ...
0
votes
2answers
471 views

How to remove 'connection to xx.xxx.xx.xxx closed' message?

#!/bin/bash ssh -t $SSH " some commands " Where is the 'connection to xx.xxx.xx.xxx closed' message coming from? I can't stop it even with result=ssh ...
4
votes
2answers
3k views

How to check if any errors occurred during ssh?

I'm writing a deployment script, and I need to rollback if any errors occurred. Eg: #!/bin/bash ssh myapp ' mkdir /some/dir # check if above command failed, and execute rollback script if ...
1
vote
0answers
144 views

How to provide “reverse ssh” to a shell?

Scenario: Many embedded devices (running Linux) out in the fields, behind routers so NAT'd and we can't make connections to them. We need for a support person to be able to initiate a terminal/shell ...
2
votes
3answers
6k views

Putty can't connect over SSH to hostname, IP connection works

I have a gentoo box on my homenetwork that I'm trying to SSH into via W7 client but although I can do it via IP address when I try the hostname it won't find it. Also get a DNS error ...
2
votes
1answer
3k views

EC2 ubuntu AMI ssh password default without key

I have a problem getting past the prompt after setting my first EC2 instance. The ubuntu LTS AMI supposed has ubuntu as the default user name. I set up the instance without keypairs when asked during ...
0
votes
1answer
428 views

RabbitVCS SSH Connection Failed

I have installed RabbitVCS on Fedora16 64bit. When I try to checkout I get the following error To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section ...
4
votes
3answers
3k views

How do I SCP a file through an intermediate server?

I'm using Ccygwin on WinXP (with the bash shell). I want to SCP a file from my localhost to a remote machine -- host2. However, I can only SSH to an intermediate machine -- host1, and then from ...
6
votes
2answers
4k views

GitLab requires git@localhost password to push to a repo

I'm trying to get GitLab up and running on my server. I followed the installation instructions at the gitlab github page and everything went well. The issue is, when I create a repo and try to 'git ...
1
vote
1answer
551 views

Using local private key via putty -> shell on remote server -> github

Is this scenario possible: Using putty/pageant to connect via SSH to a remote linux server (ubuntu)? In the shell on the remote linux server doing "git push origin master" to github (url = ...
0
votes
2answers
54 views

Can I run git tools against a remote repo?

I'm working on a project on a server machine where git is not available. This is likely not going to change in a close future. I wonder if it is possible to use my local installation of git to work on ...
3
votes
1answer
3k views

Connecting a tmux pane to a remote server

I am quite new to tmux and don't really know how to use it to it's best effect so what I am trying to do might not be the best way of doing it. Feel free to give alternative suggestions! The setup: I ...
2
votes
3answers
725 views

Kill ssh session and/or stuck processes

I'm developing with vi over ssh. My problem is that sometimes I get my ssh connection killed because of my poor wifi connection and previous processes (like "top", "rails c", etc...) are not being ...
1
vote
2answers
74 views

Ssh tuneling and logging

I have access with ssh to server. If i use it as tunnel for bypass local firewall, how can my actions can be logged in server? Does it safety for me, and is secure for me, if other people have access ...
1
vote
1answer
2k views

Tunnel all traffic through SSH?

Given Windows 7 I want to tunnel all its network traffic through SSH, without manually tunnelling each port. It's easy on Linux, but I couldn't find any hint on how to do this on Windows ): So, any ...
0
votes
1answer
84 views

OS X 10.7 with XQuartz can't X11Forward to remote Ubuntu 10.04

The problem: X11 forwarding doesn't seem to work properly. The setup: I'm using ssh to connect from my Mac to an Ubuntu box, trying to open xterm. The Mac is OS X 10.7 running XQuartz 2.7.2 ...
0
votes
1answer
265 views

If password less login is not recommended for commercial sites, what would be the best option to to do it without interaction?

continued Not even able to login password-less. $ ssh -v user@example.com OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to ...