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
0answers
5 views

Unable to get into server via putty WHM and cpanel locked

I have a Linux 6.2 vps with a cpanel. I think possibly that i have been the subject of a brute force attack that has locked me out. I am trying to access my root server via putty but cannot do this ...
21
votes
7answers
17k views

How to fix warning about ECDSA host key

I'm trying to setup passwordless ssh on an Ubuntu server with ssh-copy-id myuser@myserver, but I'm getting the error: Warning: the ECDSA host key for 'myserver' differs from the key for the IP ...
25
votes
7answers
39k views

List open SSH tunnels

I use a lot of SSH tunnels to various servers on my linux machine (for tunnelling to databases, web servers etc) and it would be really handy to view a list of current open tunnels via a shell script. ...
1
vote
2answers
20 views

What do I do after generating SSH keys?

I have 2 Linux machines: My NAS at home and a server off-site. Call my NAS as "NAS" and the offset server "SRV". I need to be able to copy files from SRV to NAS securely, without having to enter a ...
11
votes
3answers
12k views

Howto disable SSH local port forwarding?

I have a server running Ubuntu and the OpenSSH daemon. Let's call it S1. I use this server from client machines (let's call one of them C1) to do an SSH reverse tunnel by using remote port ...
11
votes
6answers
29k views

OpenSSH server refuses to accept key authentication

I tried to use public key authentication on my new server, and I came across this problem. $ ssh -v -i .ssh/server 192.168.1.100 OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration ...
0
votes
3answers
48 views

How to run remote ssh command with multiple commands using quotes?

I have tried many combinations, but none of those have worked, and now my ideas have run out. So my intension is to get time from scheduled at-job, and make another AT-job half an hour before it. And ...
0
votes
1answer
17 views

Enable SSH into Mac Desktop from Mac Laptop ONLY for one user

I'm trying to enable SSH on my desktop in System Preferences/Sharing without "Allow access for All users." I just want to allow access for my admin account on my laptop. They're on the same network. ...
0
votes
2answers
17 views

Why arrow actions ignore in mac os terminal using ssh?

I use ssh connect to debian using mac os terminal. So I have this issue if I "press up right down left": $ ^[[A^[[C^[[B^[[D at the same time everything ok in local terminal. Esc+, Option+ and ...
0
votes
1answer
18 views

SSH: What does this delay mean?

I'm getting a delay of 10-15 seconds when SSHing into a remote server.The /etc/ssh/ssh_config has the following options and nothing else. GSSAPIAuthentication yes ForwardX11Trusted yes Here is the ...
1
vote
1answer
2k views

Unable to ssh in beagle bone black

I wanted to install pip onto beagle bone black,and I tried this: /usr/bin/ntpdate -b -s -u pool.ntp.org opkg update && opkg install python-pip python-setuptools Then it threw errors, ...
0
votes
1answer
13 views

Passwordless linux account converted to Chroot jailed sftp now requires password?

I created a user and did an RSA key exchange for a passwordless connection. This worked. I also created a chroot jailed sftp only user. This also worked. I then created a third user. I set up the ...
0
votes
0answers
10 views

PuTTY causes vi to open help.txt on SSH session

When I connect to my server running openSuse 13.1 via ssh and open any file in vi, after some time it automatically opens the help.txt (just like the action on pressing F1). If you close the "help" ...
0
votes
1answer
44 views

Is it possible to make a peer-to-peer SSH connection via bittorrent-like technique?

As we discussed on my question, the question comes to this point: Could we establish a TCP connection via UDP Hole Punching technique? -- Original Question / History -- I'm using reverse tunnel ...
0
votes
0answers
11 views

SSH is using the wrong folder on Windows 8, how can I change it?

I've been trying for the past 2 days to setup my server with passwordless SSH key logins and I just finally figured out my problem.. I'm on Windows trying to SSH into my Centos 7 machine using id_rsa ...
1
vote
1answer
12 views

Can't connect to SSH with new user

I created a new user, test. I have done the following to the account: I've given test sudo permission I've added test to AllowUsers in nano /etc/ssh/sshd_config I've generated a new SSH key pair, ...
1
vote
4answers
299 views

Sending files between computers [Cloud Server <-> Home Computer]

I'm using a cloud server which runs ubuntu, I can send files from my computer to the server using scp, but the opposite side doesnt work, I know it could be due to closed ports or something else. ...
0
votes
1answer
9 views

unable to use ssh-1 despite protocol being 2,1 in sshd_config file

When I do telnet localhost 22 I get SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1 back. Since my sshd_config file has Protocol 2,1 in it (vs Protocol 2) shouldn't I be getting SSH-1.99-OpenSSH-6.6p1 ...
0
votes
1answer
15 views

Different login hosts for each login on cluster

I have just obtained an account on a new cluster. It is running RHEL 6. I logged simultaneously from a couple of different terminal windows via SSH. What I noticed was that each login resulted in a ...
9
votes
3answers
5k views

SSH works in putty but not terminal

When I try to ssh this in a terminal: ssh username@sub.domain.com I get the following error: Connection closed by 69.163.227.82 When I use putty, I am able to connect to the server. Why is this ...
1
vote
0answers
163 views

Thin client PXE boot

Basically here is what I'm trying to do: I'm trying to boot a client remotely (using PXE boot). Over PXE boot I want to start a minimal linux distribution with X and ssh. Then I want to connect using ...
0
votes
2answers
32 views

SSH port forwarding without session

I am trying to forward my port 8085 which is a live camera stream port for a mini http server, to a remote server. My command which I am using is as so: ssh -R $rport:dc-bb7925e7:$camport -p 25 ...
0
votes
0answers
21 views

Establishing SSH connection through VPN tunnels

I have three devices marked as A, B, C. (A is a dd-wrt router at home, B & C are servers) Each of B and C has a pptpd server running on it. Then I establish two ppp tunnel on A, respectively to B ...
0
votes
1answer
59 views

using ssh proxy command based on the current network

I want to have access to my home machine from my laptop from either home or the office. At the office, I have to use a gateway. For this, I added a proxycommand entry in my .ssh/config which work fine ...
22
votes
7answers
126k views

How do I fix a “cannot open display” error when opening an X program after ssh'ing with X11 forwarding enabled?

After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, I then ssh -Y to my Ubuntu 10.04 VM (running on VMware ...
1
vote
1answer
16 views

Setting up remote git repo that is on an encrypted drive?

I would like to set a remote git repo that I will be pushing to regulary, which is easy to do. But I want to set up this remote repo to be on a LUKS (Linux Unified Key Setup) formatted drive (via ...
0
votes
0answers
17 views

SSH-Tunnel ist not working sometimes

I´ve got an application server which is generating a *.txt-File; this file then is being transmitted via SSH-Tunnel to a remote server. Most of the time the file is being transmitted correctly and ...
1
vote
0answers
27 views

ssh connection sporadically hangs

Whenever I ssh to elsewhere, the connection is fine for 1-10 minutes, then hangs: no error messages, just stops accepting input. I can exit (CR-~-.) but that's it. I can't find anything suspicious ...
2
votes
2answers
118 views

Cannot setup ssh gateway

I am trying to setup a ssh gateway. I have a physical host (H) and a number of VMs on it. The host can ssh to one of the VMs (A) and then ssh to others from it (lets call it B). I have this in ...
0
votes
0answers
14 views

ssh sessions becoming unresponsive, server still shows user logged in

I have been having this problem with several servers that I manage. I log in via SSH and leave my terminal window open for an hour or so while working on something else. When I bring the terminal ...
0
votes
2answers
642 views

Used recursive chown on the root directory

I'm going to need some help restoring my ssh settings as I screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
1
vote
3answers
66 views

How do I properly SSH into a server behind a NAT while maintaining the tightest possible security?

I have a VPC in Amazon AWS. There's a NAT Server running in a Public Subnet that connects to an Internet Gateway. I have a bunch of servers running in various private subnets within the VPC. I'd like ...
0
votes
0answers
6 views

Bitvise SSH client won't connect in unattended mode

I have an application pool in IIS which is runnig a local .bat file. The .bat file is as follows: sftpc -profile="c:\Users\Public\Documents\Profile.bscp" -cmd="put C:\todo\* ap/" > C:\log\ftp.txt ...
2
votes
2answers
58 views

what is `ssh-agent bin/bash` and why I have to `ssh-add` everytime

I have to run the following commands each time I restart: ssh-agent /bin/bash ssh-add ~/.ssh/key_rsa First question is why is /bin/bash necessary and what it is used for? Second, Is it ok I run ...
0
votes
1answer
17 views

why I can do ssh connection without generating a ssh public/private key first?

My advisor has opened ssh access for me to his machine. From my machine (mac OSX), I type ssh username@hisMachineIP and enter a password, I can connect to that machine. But on my own machine, in ...
1
vote
1answer
25 views

Chrome ssh tunnel forwarding

I am first logging into an ssh server. Then I am trying to use Chrome for ssh tunnel forwarding. Is there a gui way of doing this? I can do this in Firefox's gui in like 10 seconds so I would thing ...
3
votes
1answer
184 views

ssh session occasionally hangs for some time

I have several ssh connections to a server that is in the same LAN as my desktop machine. Some sessions have X forwarding enabled, some don't. Both types of sessions occasionally hang for a couple of ...
-1
votes
1answer
13 views

How send tmux prefixer to remote server using iterm2

This is my first time using tmux and I have a problem. I have a remote server that I am connecting to it using ssh(using iterm2). Since opened, when I try to send commands like ctrl+b+c command+b+c ...
1
vote
1answer
25 views

OpenSSH server refuses to accept key authentication unless logged into server locally

My server is running Ubuntu-Server and ahs OpenSSH-Server installed on it. I set up the /etc/ssh/sshd_config file to accept and require rsa keys, it looks for keys in the 'AuthorizedKeys ...
5
votes
6answers
10k views

How can I find out which user logged in as root?

We have a couple of servers which are managed by a large group of admins. They usually log in as service users (say hudson) and then switch to root to make some small fix. This means we often can't ...
1
vote
2answers
32 views

What could 'Roaming not allowed by server' of ssh client mean?

I'm failing to connect to an SSH server instance and the verbose output contains debug1: Roaming not allowed by server. The following predictable and there avoidable problems arise: Roaming means to ...
2
votes
2answers
58 views

Putty: 'Server unexpectedly closed network connection'

Putty 'Server unexpectedly closed network connection' I have been getting the 'Server unexpectedly closed network connection' (see Putty ends to an unexpected error and VNC shows terminal with error ...
1
vote
2answers
855 views

SSH Constantly Hangs at SSH2_MSG_SERVICE_ACCEPT Received

I'm having problems with SSH. I can't connect to anything; every connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX 10.6.8. I'm thinking that it's a problem with my SSH ...
0
votes
0answers
51 views

Import ~/.ssh/config into Putty

I have a large amount of servers configured in my ~/.ssh/config on my Linux workstation. Currently I am however using a Windows workstation most of the time, and I'm wondering if it's possible to ...
0
votes
1answer
1k views

Can't SSH into remote server from Mac

A few days ago SSH stopped working on my computer. I'm using Terminal.app on a Mac with the newest version of OS X Lion running on it. This is what running ssh -vvv myserver produced: OpenSSH_5.6p1, ...
0
votes
0answers
7 views

ssh on chromeos dev mode terminates quickly

When I open an ssh connection on a chromebook in dev mode to a server and leave it idle for a few minutes it becomes unresponsive and I have to close the tab and start a new connection. Is there a way ...
2
votes
2answers
84 views

Password-less SSH not working with Mac OS X 10.9.5 Mavericks

I cannot get password-less logins working on my Mac OS X 10.9.5 Mavericks machine. I can login to a remote Ubuntu box after setting up the authorized_keys file properly. However, I cannot do there ...
0
votes
2answers
37 views

What Linux distribution to a server on an old PC

I have an old PC with 2G RAM, 30G SATA HDD with a pentium II processor. I wonder what Linux distro to make my own server ? This server will be used for: gcc/g++ with vim/emacs I don't want any GUI ...
0
votes
1answer
2k views

SFTP via Terminal Error

I cant connect to a server via sftp any more, I could yesterday. Here is the full sftp -vvv log, maybe you could help me out? Tried deleting ~/.ssh, tried hosts.allow / hosts.deny. No solution at all. ...
0
votes
1answer
15 views

Using ssh to connect to a windows machine, I can create a folder or delete a file, but can't create a file

I am using ssh.exe of cgywin to connect from one windows machine to another. I can run command such as these: C:\cygwin64\bin\ssh.exe -o 'StrictHostKeyChecking no' testcomputer -1 username 'cmd /c ...