Questions tagged [ssh]

Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, rendering them susceptible to packet analysis.

It's important to note that there are two versions of SSH (1 and 2), and that version 1 is no longer considered secure, and should be replaced by version 2 where ever possible.

More information, including the more notable SSH-1 vulnerabilities, can be found at the Wikipedia page for SSH.

8868 questions
4
votes
1 answer

Cannot PuTTY to centos with ssh

New clean server CentOS 5.5 x64 I installed SSHD following the instructions here. http://www.cyberciti.biz/faq/centos-ssh/ When I try to login to the server with PuTTY however I get the output below. SSH-2.0-OpenSSH_4.3 [cursor…
dave.zap
  • 187
  • 1
  • 6
4
votes
2 answers

SSHing between EC2 instances without having to provide key

I am trying to enable SSHing from one EC2 instance to another without a key. $ ssh ubuntu@slave gives me a permsission denied (public key) Whereas $ ssh -i aws-key.pem ubuntu@slave works correctly as expected. Since I want to enable ssh less…
Prasanna
  • 155
  • 1
  • 6
4
votes
6 answers

How to backup large directory from linux server to windows machine

Up until now ive been using FTP to connect to the server and copy the files to my local machine but the directory has grown 3gb in the past few weeks and it usually takes 40mins to copy 100mb so FTP is no longer an option for this. What is the…
Dan Hastings
  • 706
  • 1
  • 13
  • 24
4
votes
3 answers

Access local console via SSH

I am searching for a way to interact with a local console via SSH - just as you would do with an directly connected keyboard. In my particular case I got a debian server (console only, no X system) which displays several textual values on tty1.…
gorootde
  • 226
  • 1
  • 3
  • 9
4
votes
1 answer

Running Ansible locally inside a Dockerfile SSH authentication issue

I'm unable to run my ansible playbook inside a Dockerfile due to authentication issues. Here's my dockerfile: FROM ubuntu:14.04 MAINTAINER hyperfocus # Update system and install ansible RUN apt-get -y update RUN apt-get install -y python-yaml…
Hyperfocus
  • 1,177
  • 4
  • 14
  • 23
4
votes
1 answer

SSH authentication mode selection

I am trying to figure out the SSH mechanism used while I try to ssh onto a production host. I see that the SSH client can choose among the available modes. But I'm not sure which mode is chosen and how. The SSHServer side sshd_config is configured…
broun
  • 187
  • 2
  • 2
  • 8
4
votes
4 answers

iptables rules to block ssh remote forwarded ports

I'm trying to setup an iptables rule that will block access to ssh remote forwarded connections via ssh local remote forwarded connections. So, IOW: Client A connects to server: ssh -R 10000:localhost:23 someserver Client B connects to…
Oliver Nelson
  • 239
  • 3
  • 9
4
votes
10 answers

Real one-time passwords (OTP) on Linux other than S/Key?

Surely it is no good idea to log into a remote system from an untrusted computer. But sometimes it is plain necessary. Exposing an unencrypted SSH keyfile is no option of course. Entering a regular password is none either. S/Key seems to be the…
Paul
  • 1,918
  • 4
  • 18
  • 24
4
votes
3 answers

IPtables locking down website allowing only SSH

I have written my first IPtables rule file to try and protect my server on all ports apart from SSH and the ports needed for the web. This is what I have come up with: i=/sbin/iptables # Flush all rules $i -F $i -X # Setup default filter policy $i…
Jimmy
  • 269
  • 4
  • 7
  • 23
4
votes
1 answer

Using npm install as a MS-Windows system account

I have a node application running on Windows, which I want to be able to update automatically. When I run npm install -d as the Administrator account - it works fine, but when I try to run it through my automation software (that is running as local…
Guss
  • 2,670
  • 5
  • 34
  • 59
4
votes
1 answer

OpenSSH server accepts public key then immediately closes the connection without any error message

I am trying to connect to an SSH server I was able to connect to in the past but using different OpenSSH client versions. Starting from a Cygwin OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014 client, going through a Squid Proxy using corkscrew, I am…
Jean Vincent
  • 271
  • 3
  • 6
4
votes
2 answers

iptables: unknown option "--dport"

When I try to run iptables -A control_in -p tcp --dport 22 -j ACCEPT I get the error message iptables v1.4.20: unknown option "--dport". Everything I've found on the internet and serverfault relating to this message was due to people not specifying…
Shum
  • 153
  • 1
  • 2
  • 6
4
votes
2 answers

Linux RDP/VNC/SSH Client

I use loads of machines daily. Each uses different connection methods, either remote desktop, VNC or SSH. My desktop is Linux, it would be nice if I had a tabbed interface for them all so I don't have to remember which is VNC, which is RDP…
Adam Gibbins
  • 7,317
  • 2
  • 29
  • 42
4
votes
2 answers

SSH authentication between my VPS and Bitbucket fail

I'm trying to setup SSH authentication between my VPS and Bitbucket for configure later automatic deployment via Capistrano (for web projects) and Capifony (for Symfony2 projects) so I follow this steps: Login in my VPS as root and execude the…
ReynierPM
  • 710
  • 5
  • 14
  • 30
4
votes
2 answers

ssh-agent needs to start each time on my server

I have used this bitbucket tutorial for providing ssh access to the git repo: https://confluence.atlassian.com/pages/viewpage.action?pageId=270827678 But now each time I want to use the git it says I have no permissions until I do: ssh-agent…
Tzook Bar Noy
  • 155
  • 1
  • 5