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

0
votes
1answer
2k views

How to connect SSH to localhost in Windows7?

Connect SSH Secure Shell to localhost in Windows machine. What will be host name, username , port and authentication method filled in Quick connect of SSH? I tried with 127.0.0.1, but it is ...
1
vote
2answers
158 views

Is there a difference if SSH key is created on serverside?

I've got a server running Ubuntu. I installed openssh-server and wanted to use ssh key for login purposes. Everything works fine except one thing. On Ubuntu's community site is written "This massively ...
0
votes
1answer
70 views

RDP into ubuntu VM from macbook [duplicate]

I have an ubuntu VM that I usually SSH into, I have admin privs on this box. I need to install some things on the box and I'd like to actually RDP into the VM rather than just use the command line. ...
1
vote
2answers
100 views

Use sudo inconjunction with regular user's ssh key

I want to execute a command which requires root privileges so I use sudo. sudo puppet apply /etc/puppet/manifests/site.pp This command involves cloning a private github repo with ssh. The only way ...
2
votes
2answers
512 views

Allow any user/password entry in ssh

I want to setup ssh so that one can login with any username or password and be accepted. If they chose a username and password of an actual user on the system they will successfully login and use ssh ...
0
votes
1answer
256 views

Deleted SSH keys, now annoying message “Identity Added” on every Terminal launch

So, while trying to work out passwordless login to some remote systems (which is an entirely different issue :) ), I ended up deleting and regenerating my ssh keys with ssh-keygen on Mountain Lion. ...
0
votes
1answer
320 views

Trying to access Ubuntu 12.10 rdp via SSH tunnel

So I have a Ubuntu 12.10 sitting at home. I SSH to my DD-WRT router. I use the Bit Vise SSH client to SSH from my Windows 7 laptop at work to my router. I have terminal access to the Ubuntu PC thru ...
0
votes
3answers
5k views

How do I ssh-login into my Mac as root?

For some reason I can't login as root into my Mountain Lion 10.8.2. I've already edited /private/etc/sshd_config file by removing the comment from PermitRootLogin yes and restarted Mac. Still it ...
5
votes
2answers
17k views

How to Setup Rsync without password with SSH on UNIX / Linux?

How can I set up a rsync between two hosts without providing any password?
1
vote
1answer
2k views

SSH SFTP: transfer local directory to remote server

I can't seem to transfer a simple local folder to a remote server via SFTP or SSH. I feel like the issue has to do with absolute paths or home directories, but here's what I've tried: scp -r ...
0
votes
2answers
90 views

Which editor to use for frequent remote editing [closed]

I am currently working in an environment where I have to deal with a lot of remote machines (test machines, customer setups, build servers) and frequently edit/read files on them. I use ssh to access ...
0
votes
0answers
15 views

SSH to remote Mac not on local network [duplicate]

How can I SSH to a Mac using Terminal without using iCloud (don't have the same iCloud on both Macs)? I need to connect to a Mac with SSH through the Internet, because the other Mac is not on my ...
1
vote
0answers
124 views

Avoid typing password every time using NX

I am running nxserver on a linux box and installed NoMachine Player on laptop. Every time I connect to nx on the linux box, basically it comes with two steps: SSH to user nx on the linux box On the ...
1
vote
0answers
103 views

Why is there a long delay when using `nohup` on Linode

I have a shell script like: for((i=1;i<500;i++)) do python get_sequence.py done I want to run it on a Linode VPS. It would take a few days to run, so I'm going to use nohup ./run.sh &, so ...
0
votes
1answer
77 views

How to establish temporary remote connection between two hosts both behind router

The scenario is as follows: NOVICE == PC_A (192.168.0.X) <-> Router_A <-> Internet <-> Router_B <-> PC_B(192.168.1.X) == ME I need access to PC_B in order to access not only PC_B but ...
1
vote
1answer
687 views

RubyMine Remote Ruby Interpreter Error

I am trying to access my Ubuntu VM through SSH to use as a remote interpreter for RubyMine v5.0.1. However, whenever I successfully authenticate and point to my ruby location, it does not add the ...
4
votes
2answers
5k views

Connecting to an SSH server from Client behind an NTLM Proxy

I'm trying to get to my SSH server on the internet from a corporate network. All connections to the outside internet have to be proxied through a server that check's for the NTLM hash of each client ...
0
votes
1answer
93 views

OpenSSH rejects private key passphrase

I'm on Ubuntu 12.04. When I try to connect to our server ssh user@server -p 1234 -i ~/path/to/my/private-key it asks me 3 times for the private key's passphrase and finally fails, though I always ...
1
vote
2answers
293 views

VIM UI language issue

I am using VIM for a while, but never faces such a problem. When i connect to my desktop Ubuntu PC via ssh from a tablet (Asus tf Prime) using terminal emulator (screen-256-colors) I got my vim in ...
2
votes
1answer
1k views

SSH Tunnel for Samba over SSH Proxy

So I am trying to do something that is relatively simply in theory but my use-case seems to be hard to find since most proxying I find on the internet is in regards to setting up a proxy for your ...
3
votes
1answer
70 views

SSH configuration forwarding

Is there a way/option/wrapper for ssh that will permit not only agent-forwarding but also configuration forwarding? For instance, consider a workstation and a server. The workstation ~/.ssh/config ...
0
votes
0answers
31 views

Is there a way to find out how many instances of the root user is logged into a linux machine? [duplicate]

We have a handful of users that login to our Linux VM machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are logged in ...
0
votes
1answer
35 views

internet access on natted server

I have two linux servers say X and Y. There is a VPN connectivity between the two, such that X can connect Y through some ports(e.g. 22,5901 etc) but Y can not connect X. internet is available on X. ...
1
vote
3answers
274 views

lazy prompt for ssh public key passphrase

I have ssh public keys set up on my computers. They have passphrases. Whenever I need to, e.g. push to github, I have to type in the passphrase. Each time. And I'd rather ssh remembered on subsequent ...
0
votes
2answers
231 views

Run a python script for entering RSA passphrases for Unix systems

I would like to know if is there a way to put a new "Layer" when the SO(preferentially a Ubuntu or a Mac OS X) asks for the passphrase of a rsa key. How it normally does: Use ssh; prompt the window ...
0
votes
1answer
367 views

How can I use Interarchy/Filezilla etc with SSH keys?

I have a server which I connect to with the command line using a stored ssh key, i.e. there's no username/password, I can just connect with ssh servername because the key is stored in the right place. ...
3
votes
2answers
545 views

SSH from Linux computer into GUI of windows computer?

Basically I want to store my Windows system somewhere remote and use SSH (or any other protocol that would work) on Linux (specifically a raspberry pi) to access the entire desktop GUI on the Windows ...
0
votes
1answer
5k views

Unable to login AIX via putty, but able to ping

I am working on an intranet. I have some AIX servers, and I use to login them via putty. It works fine from some workstations, but I am not able to login from one of my windows workstation. I get ...
2
votes
2answers
154 views

Is it possible to decrypt remote files with key stored in pageant(local)

I connect from my windows desktop to linux(centos) vps using pytty, authenticating with key stored in pageant. Now I would like to store passwords in encrypted file and use them in scripts, but ...
3
votes
1answer
2k views

Starting Dropbox on OS X through SSH without needing to log in to desktop

Is there a way to start the Dropbox syncing client through SSH? I already have the desktop version of Dropbox installed. However, I am using SSH to connect to the machine and if I restart the ...
0
votes
1answer
161 views

ssh-add not permanent

I've setup some keys to connect one server to another (periodically importintg data from one to another via some crontab). My problem is that the passphrase is randomly asked by the system (I can ...
2
votes
2answers
101 views

Is there a way to keep ssh authentication open for several scp commands?

I need to copy several small files from a remote machine to a local one. I need to do this several times a day. Currently, I use a script that use scp to copy the files. However, this is slow as every ...
0
votes
0answers
88 views

SSH into Linux box from EC2

I can't seem to ssh from my ubuntu EC2 server into my work linux box. From my work linux box, I can ssh into myself via ssh -p <my listening ssh port> <user>@<my ip> The same ...
1
vote
1answer
1k views

Installing PHP 5.4 on CentOS 6

I want to update my CentOS 6 PHP version from 5.3 to 5.4 so I tried this guide: http://www.webtatic.com/packages/php54/ But after running yum install php54w I get this: Setting up Install Process No ...
1
vote
1answer
196 views

Set a User-Agent for SSH

How can I set a user agent for the ssh program? Network requests made without a user agent are blocked on my network and I'm wondering if ssh is throwing a "Connection reset by peer" error because of ...
0
votes
0answers
196 views

Run a graphical program remotely

There's a remote Linux server I connect to over ssh, which has an OpenGL program I wrote. I'm working from home on Windows connected to the Linux server remotely via SSH. I want to display the ...
0
votes
1answer
584 views

Mount serial port through ssh connection (Mac/Linux)

I'm working on a MacBook Pro under mountain lion and I would like to mount serial device connected (/dev/ttyUSBx) on a Linux PC under Ubuntu 12.10 through SSH. I tried with sshfs to mount /dev ...
0
votes
3answers
2k views

OpenWrt and blocking addresses from china

I'm running OpenWrt on my router and I love it. My question is how do I block all china addresses from connecting to my firewall on port 22 in the router? 99.9999% of the unauthorized ssh connections ...
7
votes
1answer
802 views

Sharing transparently proxied Internet connection with PS3

I am trying to play a Japanese karaoke game on a PS3 but the latency is just horrendous and downloading songs takes forever. One recommendation I got was to turn my laptop into a SOCKS proxy by ...
1
vote
1answer
129 views

MySQL access database through remote machine without user access

I'm trying to access a MySQL database on a remote machine. I do not have user access to the machine that the server is running on, but I do have access to another remote machine on the same network. ...
2
votes
1answer
775 views

How can I make OSX terminal tab names the same as .ssh/config host aliases

Setting up a .ssh/config is a great time saver. The host aliases with user defined names make it easier keep track servers and key files. However, the OSX terminal tab names are displaying what ever ...
0
votes
2answers
228 views

Git Always Prompts for Passphrase

I've followed the following guide to setup SSH keys on Mac OS 10.7.4. https://help.github.com/articles/generating-ssh-keys But for some reason it continually prompts me for my passphrase. It doesn't ...
2
votes
2answers
393 views

SSH remote command execution in script

In my script I do something like this: command="some/path/script.sh arg1 arg2; some/path/script2.sh arg1 arg2;" ssh_command="ssh root@$ip '$command'" echo $ssh_command exec $ssh_command The echo ...
-1
votes
1answer
327 views

Network Unreachable when cloning Github Repository?

When I try to clone my repository on my OVH server, I get the following message: github.com[0: 207.97.227.239]: errno=Network is unreachable How could I solve this? I am using Windows 7, it is a ...
4
votes
3answers
4k views

Unable to do passwordless login to FreeNAS

I'm trying to use this command to allow me passwordless login to a FreeNAS box: cat ~/.ssh/id_rsa.pub | ssh root@server.com 'cat >> ~/.ssh/authorized_keys' But I get: ...
0
votes
1answer
1k views

CentOS 6 sshd: Logging in works, but still claims “access denied”

I have just installed a plain CentOS 6.3 system. I enabled sshd, and try to connect with Putty. This works, but here is what I get: login as: user Access denied user@192.168.1.7's password: Last ...
0
votes
0answers
1k views

Disable reverse DNS lookup in SSH Client

I was trying to avoid the reverse dns lookup by the ssh client. But I can not use the UseDNS option since it requires file modification to /etc/ssh/sshd_config which I'm not privileged to do. Tried ...
2
votes
0answers
95 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 ...
0
votes
1answer
568 views

SSH: Connection to port 22 refused by server

I recently started to build a LAN using D-Link switch and I got some issues with it. My network scheme: -- is the Ethernet cables | Internet access via modem| -- | | | PC w/ Ubuntu ...
0
votes
2answers
268 views

The cd command using variable to mapped NFS volume within ssh in linux script is not working

I have to do the following from within a bash script. The /VMNFS/ folder is present on linux box, from where script is run, and is mapped to the machine into which i am ssh'ing, as an NFS at ...