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

7
votes
1answer
751 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
126 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
739 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
183 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
364 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
308 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
3k 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
92 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
542 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
255 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 ...
0
votes
0answers
197 views

Connecting SSH with OpenSSH key

I have a CentOS 6 server and I want to connect to it with a private key. On Windows, I use PuTTY Keygen and paste the public key in my server, in .ssh/authorized_keys2 (also tried authorized_keys, ...
0
votes
1answer
47 views

Could not ping to registered host service from terminal

A very good day to all of you . Yesterday i registered with byethost11.com and registered for free hosting service . The registration was done successfully and they provided me with the hostname , ...
0
votes
1answer
220 views

ssh authorized_keys on two machines

I have two machines with the same .ssh/authorized_keys (verified since (1) one is a copy of the other and (2) the md5sums of the file on both machines match) and the same /etc/ssh/sshd_config ...
0
votes
1answer
205 views

how to mount encrypted drive over ssh, using password stored on local machine

I have two computers in my possesion, one local, one remote. The remote machine I have full access too (root), but it is not really in a physically secure location (i.e. someone can break into the ...
5
votes
2answers
827 views

Can't access directory over SSH

I am accessing a MyBook server using SSH by means of public-private keys. I have a wierd problem where i am unable to access certain folders that i should logically have access to. I have a ...
1
vote
1answer
1k views

Is it possible to make rsync make a log-file on a remote system?

I'm using rsync to connect and back up to a hard drive on a remote computer that I have ssh access to. rsync is connecting correctly. The code that's working is rsync -av --progress -e "ssh -p ...
2
votes
3answers
110 views

How can I browse work machines (i.e. behind a firewall) from home?

From home I would like to browse my intranet at work where I have a Linux box, which I will call "W", i.e. W.workdomain.com. My router at home closes port 22 but maps port 2222 to port 22 on my ...
0
votes
2answers
2k views

Find pid of a certain ssh instance

There can be more than one instance of ssh running: $ ps aux | grep ssh cpn 6098 0.0 0.0 58196 2032 ? S 10:08 0:01 ssh cz -nNCTR 5433:localhost4:5432 root 6313 0.0 0.0 ...
0
votes
4answers
152 views

File transfer via ssh to local machine

Sometimes at work I need to ssh into a local server on the command line to do some handiwork. A couple of times I've needed to copy a file onto my local machine. I can do this with the cp command ...
2
votes
2answers
838 views

Copying known_hosts between computers?

Connect to a server using OpenSSH_5.9p1 OpenSSL 1.0.1, and it stores a .ssh/known_hosts that's of the format: |1|wwwwwwwwwwwwwww=|wwwwwwwwww= ecdsa-sha2-nistp256 AAAAAAAAAA+AAAAA= Then copy that ...
0
votes
1answer
1k views

ssh -X with cygwin on Windows: “Unable to access the X Display”

I'm on a windows machine, trying to run a python program on my lab's server, and would like to be able to see the output plots it produces. Here is what I type to try: ssh –X user@server python ...
1
vote
1answer
259 views

Linux Remote Server Workspace is too busy and nonresponsive?

I have access to a remote server linux workspace, which is currently overloaded with jobs from many users and thus is not responding to any ssh request, currently we do not have any IT personnel to ...
1
vote
2answers
103 views

Linux port forwarding using another port

i have a server that uses linux (centos) without root access, i want to know if i can forward a port 10000 to localhost:3306 using ssh or without installing any software? so that when i access that ...
1
vote
1answer
311 views

Passwordless connection to GitHub without EVER needing to enter a password

I cannot figure out how to connect to GitHub from my server (e.g., git pull) without ever needing to enter my password. I have followed all the passwordless setup steps as mentioned in this superuser ...
0
votes
1answer
144 views

How can I login with system user (prosody)?

I installed prosody XMPP server and now I'd like to create XMPP user via SSH (which basically means running custom script on that server). I assume that script should be run by prosody user, because ...
1
vote
1answer
665 views

Which ssh-agent to connect to when setting SSH_AUTH_SOCK inside screen/tmux?

I am using a variation of the following line: export SSH_AUTH_SOCK=$(find /tmp/ssh-* -name agent.\* -uid $(id -u)|head -n 1) found over at Github. This way I should be able to use my forwarded ...
1
vote
1answer
357 views

using sftp and having www file access at the same time

Im getting confused about permissions and sftp access in ubuntu. I have a user who has access to the www folder : <username>:www-data I have set the following in sshd_config: Subsystem ...
6
votes
2answers
55k views

SSH Permission denied on Correct Password Authentication

I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here ...
0
votes
1answer
54 views

How to upload my GIT Master Branch to my server Over SSH?

I want to upload all my project files to the server over SSH, I want to avoid guessing what files I need to upload. I know GIT does this when remote pushing to Github but I need to upload it directly ...
5
votes
2answers
206 views

How to Use SSH With a Given Public Key

I was given a public ssh key, user name, and host name to access a server. I have found a lot about using public key ssh authentication, and all the tutorials I find start with execute this command: ...
1
vote
2answers
236 views

How to restart a remote x11 program using ssh

Ok I have 2 linux machines, machine A and machine B. Machine A is a server running icecast audio server. Machine B is a desktop in the studio running BUTT(Broadcast Using This Tool) an x11 app that ...
1
vote
1answer
61 views

File Corruptions when using Vim on iMac

I'm experiencing some strange file corruptions when editing PHP files in VIM/iTerm. This is not exclusive to these but the corruptions are slightly different in Nano. Same issues appear in the ...
0
votes
1answer
46 views

Using a SSH key generated in Unix on Windows

I have generated a pair of public/private keys on my Unix installation. I now want to use that pair on my windows 7 installation. How do I Do it?
0
votes
5answers
362 views

Is there a command for ubuntu,mint-like systems to open n-terminals, automatically name these, connect and cd on a remote server?

Every morning I have to open a lot of remote sessions at work on a linux distribution, label the session-Windows, type ssh user@server and cd to a directory on that server. I want to save time and do ...
2
votes
0answers
249 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 ...
4
votes
1answer
208 views

How to create or convert private key in Unix/Linux in .ppk format which can be used in Windows PuTTY?

Is it possible to create or convert keys in Linux into .ppk format which can be used in PuTTY in Windows? Without downloading any additional software like puttygen, possibly using standard tools like ...
3
votes
3answers
6k views

SSH public keys not working

I've spent a few hours trying to solve this, but have gotten nowhere. The server is running CentOS 6 and using OpenSSH. The client is running OpenSSH too. I created a public key on the client (my ...
-3
votes
1answer
65 views

Compromised RSA key - unsure of the scope of the issue

So, I have no experience here, but what sorts of problems can be caused by a compromised private RSA key? Is this even that big of a deal? I'm getting very little specific info on Google. :(
1
vote
1answer
881 views

TightVNC and SSH

Lets assume this state (imageshack image) of network. I want to SSH-tunnel connection between VNC clients and VNC servers. Both PC1 and PC2 runs TightVNC server and SSH server and have allowed ...
4
votes
2answers
500 views

msysgit's ssh doesn't display colors

I'm using Console 2 to launch msysgit's Bash shell in Windows. When I ssh to a server (either a SLES or RHLE server) and do an ls or use vi I don't get any colors. However, the colors DO work ...
7
votes
2answers
3k views

Sending key via ssh or using mouse to activate Target Display Mode?

Is it possible to send a keystroke via SSH? I want to be able to send CMD+F2 via ssh from/to Mac OSX. If not possible a mouse solution would also be good. The reason I need this is because I only ...
2
votes
3answers
567 views

Is it insecure to leave open an SSH connection?

I am running an Ubuntu Virtual server at a remote location, and several people have SSH access to the server for reasons of web-dev and other various things. When I setup the server I set various ...
2
votes
1answer
546 views

SSH Session Started from Here Doc Does Not Exit Properly

SSH session doesn't terminate and give the tty back when executed inside a here document. Below is the code snippet that's inside my shell script: ssh -t -t root@$HOST_ADDRESS <<TERM_STRING cd ...
0
votes
1answer
188 views

SSH Log In Closes After Password Entry

I just bought my first VPS that I got a smoking deal on. It is running Ubuntu 11.10 X64. I set up a Minecraft server on it to see how it would handle it, and ending up created a minecraft account on ...
3
votes
2answers
301 views

ssh & ping to target works from desktop but not from laptop?

Now where is the problem if ssh & ping to target works from desktop but not from laptop ? I have been able to ssh to my target from my DESKTOP using following command :--- Target IP is fixed in ...
1
vote
0answers
266 views

Windows PowerShell doesn’t use my SSH keys

I have a Git repository hosted on Bitbucket. I can connect to this using Git Bash terminal, which uses my public key defined in my H: drive (network drive), but if I try the same from Windows ...
1
vote
1answer
3k views

Cannot successfully configure OpenSSH via CYGWIN in Windows 2008

I need help configuring OpenSSH on Win2008 via CYGWIN! THANKS in advance! I am trying to configure an OpenSSH server on Windows Server 2008 Datacenter via CYGWIN. I have installed and configured ...
0
votes
1answer
222 views

Why ssh “password” prompt takes too long to appear?

When I try to connect ssh it takes too long (almost 2 minutes) to appear password prompt. Why does this happens?