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

1
vote
1answer
217 views

Platform independent SSH client? [closed]

I am looking for an ssh client that can run from a windows terminal (cmd.exe) or a bash shell with no difference. That means that cygwin would not work (not the original cmd.exe process). This client ...
1
vote
1answer
1k views

Run remotly, in the background, using ssh, then log-out, keep process running, how? - Simply pls :-)

The following question has been asked millions of times (be patient towards it please :-)).. Why O why - can't I find ONE SIMPLE, CONCLUSIVE answer? - Would be highly appreciated! Is running a ...
7
votes
5answers
7k views

Windows CLI SSH client? [closed]

Is there an SSH client for Windows, that can be ran purely from the CL only? That is, I can launch it, and there will neither spawn a new command window nor will it launch an independent GUI. The SSH ...
3
votes
3answers
2k views

ssh refuses to authenticate keys

So I am setting up a connection between my machine [fedora 17] and a virtual machine running in Virtual Box in which is running CentOS 5. I have installed openssh from the repositories on CentOS, and ...
3
votes
2answers
314 views

Delete current command

Is there a keyboard shortcut to delete the current command? Let's say I have: $ cp /home/one/two/tree/ /var/www/one/two/three I want to easily the current command, specially when it's long and I ...
3
votes
1answer
293 views

View router webpage via remote PC

Not sure if this can be done but here goes. What I want to acheive is this, a user on a laptop can view a router web page that is on another PC (client), the route to this client is via another PC ...
0
votes
1answer
114 views

SSH Server is running but not visible on network

My ssh server is running on port 2224. I am running two ssh servers, sshd on 22 and sshd2 on 2224 bash-3.2# /etc/init.d/sshd2 status openssh-daemon (pid 19737) is running... bash-3.2# nmap ...
2
votes
1answer
65 views

Automating the installation using SSH

I am running a bash script from a remote host to run a binary file which installs 64 bit JDK 6 update 29 on multiple VMs across the Environment. It is installing the file but, at the last line i have ...
0
votes
1answer
522 views

Unable to start an instance of sshd server

I tried to start an instance of my own (i am not root) sshd server on a remote machine , but it fails: debug1: sshd version OpenSSH_4.3p2 debug1: read PEM private key done: type RSA debug1: private ...
1
vote
0answers
79 views

XTerm is killing last line's characters

I'm using cssh (aka clusterssh) to manage an experimental, peer-to-peer system, and I've observed a curious behaviour: the terminals seem to kill the last character that should appear on each line, ...
0
votes
3answers
827 views

How to make bash aliases available as linux commands?

I have many bash aliases on a remote location. But when I try to run those from my local linux box, I get the 'command not found' error. e.g. $ ssh root@remote 'status' bash: status: command not ...
1
vote
2answers
993 views

Configure SSH client to use different ports in Mac OS X

I have a .ssh/config file configured to connect to different servers with SSH: ### # Identity files ### IdentityFile ~/.ssh/id_dsa_home IdentityFile ~/.ssh/id_dsa_github IdentityFile ...
1
vote
1answer
108 views

Can I get OpenSSH's sshd to accept a login for a non-existent user?

I'm trying to set up sshd to do some funky things on a dedicated server. (Which is to say, don't worry about why I'm asking such a strange question; I'm just experimenting to see how I can abuse ...
3
votes
1answer
550 views

Run script on login with ssh

I have a feeling this is quite easy to do but every solution found on google has to do with adding a script to be run whenever someone logs into the machine. What I am looking for is a way to run a ...
1
vote
1answer
115 views

How do I use rsync to sync my repo on my mac to university server where I have ssh access?

I need to use my university's ssh access and run my programs there for testing. I don't have sudo access there. It doesn't have vncserver there either. I would work with vim and make but I need git at ...
3
votes
1answer
387 views

Using FileZilla to upload and unzip my web site via SSH

I'd like to upload and thenunzip my zipped web site on my web host service which manage SSH connections too using Filezilla. I wonder if is it possible to use only that application to do both ...
8
votes
1answer
3k views

SSH config wildcard on expanded Hostname

I want to have a wildcard in my SSH config to set my default username to a particular value for all hosts on a certain domain. But I also want to have some short names for some particular hosts. I ...
1
vote
1answer
374 views

How to create a virtual interface from a socks proxy?

I am wanting to create a network interface from a SOCKS 5 proxy on localhost. This will eventually be bridged with a wireless interface that I have which will be operating in AdHoc mode. This will ...
0
votes
1answer
300 views

Enabling Shell colours through Putty SSH

I have set a number of configurations in my .bashrc file to set the appearance of shell on my Redhat machine. However, when I login as root using Putty, the colours are not shown. I can enable them ...
3
votes
3answers
458 views

Why would SSH via remote IP be faster than local IP?

I have a Linux server running from my house, with a DynDNS URL setup pointing to my public IP address. One of the things I've noticed is using the remote address such as url.dyn-dns.tv or my public ...
0
votes
2answers
227 views

How to get notifications of SSH file transfers?

I'm wondering if there is a method or program that can monitor SSH file transfers and send out an email when a file (incoming) has been transferred? (The other alternative would be to at least get a ...
0
votes
1answer
70 views

When can authorized key user feature fail?

I recently generated a key value pair on my university remote server to create .ssh directory and then I copy pasted contents of my .pub file in .ssh directory on my laptop into the authorized_keys ...
4
votes
3answers
283 views

SSH tunnel between three machines

I encoutered a scenario that is : A can access B via SSH (B can't access A, because nat), A can access C via SSH ( C can't access A, because nat), B and C can't access each other, there are in ...
2
votes
0answers
816 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
1answer
452 views

AdHoc WiFi network that routes traffic through an SSH tunnel

I just bought a Raspberry Pi and I want to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I can ...
3
votes
3answers
425 views

How to get multiple physical windows for an ssh session?

I have an ubuntu desktop that I ssh to from my macbook pro. Frequently, I find myself needing multiple physical windows that are ssh-ed into the desktop, maybe to set up code side-by-side or whatnot. ...
3
votes
1answer
166 views

Linux terminal - frozen update of input but can execute commands?

How do I restart a shell session from within SSH when it looks something like this: anton@ubuntu:~$ c: command not found anton@ubuntu:~$ lib ...
1
vote
0answers
65 views

Monitor goes blank after 30 minutes. No keyboard or mouse are attatched, but computer is controlled over SSH

Currently trying to set up a media server which I can control with my laptop or phone. After looking at all the options I decided upon using SSH to start mplayer in fullscreen. Everything is working ...
9
votes
5answers
37k views

How do I exit an SSH connection?

I'm connecting to a server via ssh to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and i write the message and send it i ...
2
votes
2answers
88 views

Generating SSH Keys on the Server

I have set up sshd on a Linux server and managed to log in via keys generated using ssh-keygen. However, I have made the following observation: When I generate the key pair on the client and copy the ...
0
votes
0answers
22 views

what is the exact command to Restart a redhat linux system via ssh? [duplicate]

Possible Duplicate: what is the exact command to Restart a redhat linux system? I want to restart the Linux (Redhat server 6.3) System via ssh. I am accessing the remote machine via Putty. ...
1
vote
0answers
135 views

osx 10.4 - ~/.ssh/id_rsa doesn't work, whereas ~/id_rsa does

I'm having a strange problem with sshing into a remote box with a private key: $ ssh me@remote Permission denied (publickey,gssapi-keyex,gssapi-with-mic). $ ssh -i ~/.ssh/id_rsa me@remote Permission ...
10
votes
5answers
9k views

How do I make sshfs work in Debian? (I get /dev/fuse: Permission denied )

I've moved from Ubuntu to Debian on a machine and all my sshfs mounting scripts fail with fuse: failed to open /dev/fuse: Permission denied now. Am I missing something simple?
2
votes
2answers
2k views

ssh and home directory permissions

sshd will refuse to accept public key authentication if the user's home directory is group-accessible, even if ~/.ssh is set to 700? If the permissions on ~/.ssh are acceptable, why do the permissions ...
0
votes
0answers
272 views

ssh returned with something 'unknown'

I use ssh to run some command remotely,something like this: ssh user@host 'sudo command' after that, I got this line shown in the shell: 'unknown': I need something more specific. what does it ...
1
vote
2answers
1k views

Reverse sshfs tunnel

Hey I want to setup a reverse sshfs tunnel. I have a home server which sits behind some type of NAT which makes it impossible for a remote computer to sshfs the home file system. On the local computer ...
1
vote
1answer
56 views

Is there any way to recover my sudo power?

I created a new user and changed the ssh config. I forgot to add root permission to the newly created user. Now I need to undo my changes in ssh config. Is that possible without any sudo command?
1
vote
3answers
11k views

Getting “Access Denied” error in putty with a normal user [closed]

Using Putty I am able to login successfully using root user id but not with other user ids. These user ids are just normal users that belong to a developer group. Originally, I used 0.61 version. ...
2
votes
1answer
183 views

Does scp require ssh server/client

I previously had openssh-server/client installed on my machine. Doing scp -r folder/ users@host:/location/ worked fine. On my new installation without the ssh client/server fails. Do scp and ssh ...
0
votes
1answer
39 views

How could I connect to multiple clients using their SSH settings for the same service?

Say I connect to Amazon's EC2 service for multiple clients, where each client has their own ssh settings and secret keys etc. Is there a way I could swap the settings for each client? I'm on OS X.
4
votes
2answers
776 views

Redirect all SSH traffic through a “middleman” server

this is my setup right now: A. My NAS with static IP, reachable via SSH from the Internet (OS X) B. a VPS (Ubuntu Server) C. a dedicated server (Gentoo) My question: Due to bad peering i want to ...
1
vote
1answer
102 views

FTP, SSH, VNC, ETC; All in One Environment?

I have a virtual private server, and I find myself constantly cycling through SSH tunnels in my Linux terminal to the server, then exiting to get to my current systems shell, then logging on to a FTP ...
0
votes
1answer
1k views

ssh keychain for git pull cron

I am a bit of a newbie with linux, so must apologize straight away if this is something obvious and/or silly. I am trying to create a git pull cronjob that gets update from GitHub repo every few ...
1
vote
1answer
309 views

How do I share or setup a tunnel with two Internet connections?

My current network topology is: As you can see, my PC has no Internet connection, but my laptop does. As it is (in the picture), the laptop accesses the Internet with no problems, and both laptop ...
0
votes
1answer
218 views

Compose Mercurial commands from Toroise-Hg and send to remote linux using ssh

I use ToroiseHg Workbench to manage repositories on my local windows machine, and I like how TortoiseHg composes the commands based on clicks I make using the GUI. But I only know how to use ...
0
votes
1answer
735 views

Why should I use openvpn instead of ssh? [closed]

I have an ec2 instance running. I connect it via ssh. It looks good for me. Now my team lead asks me to set up an OpenVpn. I wonder why should I do this. With the ssh command, I can connect to my ...
3
votes
2answers
3k views

ssh Permission denied only in cron job

Having a very strange problem. I've created a small bash script which runs a command on a remote host via ssh (using public key authentication). When I run this script manually from the command line ...
0
votes
1answer
59 views

Repair a huge file to which I have ssh access

I have that huge file on a remote server to which I have access through ssh. I downloaded it on my computer, but for some reason some part of it was corrupted during the transfer. Downloading it again ...
1
vote
0answers
523 views

Allow SSH Password Login on Local Network

I have a home server running Fedora 16 I'd like to be able to access remotely via SSH. For users with sudo access, they should only be allowed to connect from the WAN with a key, but I want to allow ...
1
vote
1answer
244 views

SSH to remote OS X computer

I'm trying to ssh into my OS X laptop from my iPad using prompt. I have everything working when I'm on the same network, but when I try to access my computer from an outside network...everything ...