Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

-2
votes
0answers
8 views

Linux // Plesk - copying FTP backup to local repo via SSH

where do I begin, I have a 20gb backup file on my FTP server saved directly from plesk with the automated backup service. I need to copy this to the local repository but plesk is taking forever to do ...
0
votes
0answers
9 views

Restrict SSH Login for UserA from public networks to public key while allow with password from internal networks

assume UserA is allowed to login by SSH to a server from public networks as well as from within private ones. Is there any option to restrict password-enabled logins to the private networks while ...
0
votes
3answers
202 views

Why can't I SSH into a new EC2 instance I created from an AMI I generated?

I followed the procedures here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html with the exception that I did not shut down the original instance, just let AWS reboot it. ...
0
votes
0answers
10 views

(reverse-) ssh connection “time out during banner exchange”

I have set up a few 100 embedded boxes to contact HQ by opening up reverse ssh tunnels, each under a new port. This is mostly working fine, but today I encountered a problem with using the tunnel ...
0
votes
1answer
27 views

Ssh tunnel with master connection

There are three machines A, B and C running linux. I have root access to machines A and B but not to C. A is my local machine and I want to connect to C. C is only reachable through ssh over VPN. I ...
90
votes
9answers
28k views

Keeping a linux process running after I logout

I'm connecting to a Linux machine through SSH, and I'm trying to run a heavy bash script that makes filesystem operations. It's expected to keep running for hours, but I cannot leave the SSH session ...
10
votes
6answers
7k views

pam service(sshd) ignoring max retries

I have vps that I use to run a webserver on, it currently runs ubuntu server 12.04. Since a few weeks I keep getting a lot of errors in my ssh console. 2014 Apr 11 08:41:18 vps847 PAM service(sshd) ...
3
votes
2answers
38 views

After a while ssh connection freezes when a command run remotely produces a lot of output

The situation is this: there is a an ssh client (Ubuntu 14.04) and an ssh server (Debian 7). There is a bunch of networking in between them. SSH connection is easily (and quickly) established and ...
0
votes
0answers
48 views

Centos SSH connection on non-standard port

I connect to my Centos server using SSH on port 22. I also have fail2ban blocking invalid login attempts on port 22. For security reasons I am switching to another port WXYZ and have made the usual ...
0
votes
1answer
13 views

Ubuntu 12.04 server copy authorized_keys to different server

I have setup key auth on a ubuntu 12.04 server. Is it possible to just copy the content of authorized_keys to another ubuntu 12.04 box that this gets all auth keys as well? This would safe time to not ...
13
votes
4answers
4k views

Using PGP keys for SSH

I use a 4096 byte RSA PGP key; since SSH also uses the RSA standard, is it at all possible to use the PGP key as an SSH key without installing additional software on the server (and as little as ...
-1
votes
0answers
17 views

How to reolve Permission denied (publickey,gssapi-keyex,gssapi-with-mic) [on hold]

This question may asked before but i don't understand the concept. Can you please help me here Weired issue from this morning .. see i just push my file to google cloud computing then showing below ...
1
vote
1answer
46 views

Kerberos SSH Man-in-the-Middle for Data Sniffing

Kerberos clearly keeps an attacker from getting a user's credentials in an SSH man-in-the-middle scenario (one where the attacker has gotten the user to trust their server's public key and redirects ...
0
votes
0answers
26 views

Enable root password on remote server

I'm playing around with ssh-with-rsa-key authorization instead of password authorization and because I'm not really clever I've locked password authorization for root(passwd -l root) on remote server. ...
3
votes
3answers
3k views

SSH traffic over openvpn connection freezes when I cat a file

I have an openvpn (version 2.1_rc15 at both ends) connection setup between two gentoo boxes using shared keys. it works fine for the most part. I use mysql, http, ftp, scp over the vpn with no ...
5
votes
1answer
55 views

Multi-user bzr server

I'm currently investigating whether it is possible to serve bzr in a setup similar to what gitolite does for git. This means a single unix account, with different users managed via their ssh public ...
1
vote
1answer
54 views

Why is fail2ban not banning this attack?

I have fail2ban installed to ban bruteforce attempts on the ssh password. There are business requirements for not disabling password authentication on this machine. fail2ban was installed using the ...
0
votes
0answers
17 views

Lock Down Users on Cygwin SFTP Server

How do I lock down sftp users in Cygwin so that they can't read from random directories such as /etc. i set up local windows accounts for each sftp user on the machine. I've used /etc/fstab file to ...
81
votes
3answers
35k views

What's the difference between authorized_keys and authorized_keys2?

Just wanted a quick summary of the differences between them and why there are two? Cheers
-1
votes
1answer
26 views

How to expose port from behind firewall using ssh? [on hold]

So there is a network (Network A) that I have a computer on that tunnels it's port 22 to my workstations port 2222. Network A is not exposed on a public IP but it uses local IP's for communication ...
-1
votes
1answer
38 views

How to use ssh without knowing remote user's password? [on hold]

I am trying to use ssh and login to a different mac (B) from my mac (A) but do not know B's password. Is there anyway of finding B's password or doing this without access to B?
1
vote
1answer
15 views

Instance created from shared snapshot gives Server refused our key error

I have created an instance from a shared snapshot from other aws account,following steps were done by me, 1.Share snapshot from other account. 2.copy it to my account. 3.create a volume from it ...
0
votes
1answer
1k views

very slow connection to ssh server from client (but not other servers)

I have an Ubuntu 12.04 laptop that is taking so long to connect to various servers (in different data centres) that it seems like a bit of a lottery whether I'll actually get a connection. If I ...
0
votes
0answers
39 views

sshd with port forwarding left connections to localhost without counterparty process

After temporary tunnel setup from X.X.X.X , from where I ran ssh -R 1089:localhost:1089 for several days, I have noticed this. I wonder what processes is 2494/sshd connected to, as no counterparty ...
4
votes
1answer
1k views

ForwardAgent in Jenkins

I'm trying to enable ForwardAgent in the "Publish over SSH" Jenkins Plugin. This would allow jenkins to execute deployments, rsyncs and svn+ssh checkouts on remote servers. But there's no option for ...
0
votes
2answers
40 views

How to configure ssh access for an unattended linux-distro ISO image for local development env similar to accessing cloud service VM instances?

I configured Packer.io to build unattended iso installs of various debian-derived distros to VMware fusion. As i configure the VMs manually for ssh access, it times out and the build artifacts created ...
2
votes
3answers
2k views

CYGWin and sshd. Accepts authentication, but won't connect

Everything I find relating to this is the "ssh-exchange-identification:" error. This doesn't happen for me. I get two lines: Connection to localhost closed by remote host. Connection to localhost ...
2
votes
1answer
2k views

How do you configure X11 forwarding over SSH on AIX?

Here is what I've tried. I've edited /etc/ssh/sshd_config on the remote AIX system X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes as well as set $DISPLAY DISPLAY=localhost:10.0 export ...
1
vote
3answers
696 views

Native Symlink Windows 2008 r2 with cygwin

Is it possible for me to create an ssh session on windows which then does some folder/file manipulation and then creates a NATIVE windows symlink. i.e. a symlink that will be recognised by IIS and ...
2
votes
1answer
1k views

gitolite mac don't add new user to authorized_keys

I installed gitolite and every thing works fine for me as admin. But when I'd like to add add a new user the new user can't connect to the server. After I looked into the file authorized_keys I saw ...
0
votes
1answer
20 views

SCP2, SSH tectia client moving files recursively [on hold]

I am trying to move multiple folders in a directory from either remote to local or local to remote. An example would be <SSHTectiaClientLocation> -r -u -k E:\home\files\\* User@host:/home/ It ...
8
votes
5answers
25k views

Linux closing connection after successful login

I am working on a server with Debian 5.2.2. Barely having any administrative knowledge with Linux, I think I screwed something up. I used apt-get update and apt-get upgrade to get everything up to ...
0
votes
2answers
917 views

iptables make server connection very slow

When I add iptables rules to the server (on a local network), the connection becomes very slow. This is confirmed for both SSH (logging in goes much slower), and MySQL (websites use this server as ...
0
votes
2answers
63 views

Ubuntu EC2 server not accepting key following OpenSSH upgrade

I've just upgraded OpenSSH on an EC2 Ubuntu instance. sshd -V now gives: OpenSSH_6.6p1 previously showed: OpenSSH_5.9p1 Debian-5ubuntu1.3 However, I can no longer log in with the .pem file from ...
7
votes
3answers
7k views

How to enable color in Vim over SSH?

I have two remote servers: Server 1: Linux 2.6.18-238.12.1.el5PAE i686 / VIM - Vi IMproved - version 7.0.237 Server 2: Linux 2.6.18-338.19.1.el5.lve0.8.36 x86_64 / VIM - Vi IMproved version 7.0.237 ...
0
votes
1answer
21 views

initial ssh login to 14.04 server from Linux Mint 17 always times out

Very strange one this. I have some EC2 nodes running standard 64 bit Ubuntu 14.04 LTS. I use Linux Mint 17 on my laptop, which is also based on 14.04. In my office (in West Cambridge) I can ssh in ...
0
votes
0answers
30 views

WS_FTP + OpenSSH - Failure to agree with SSH server on compatible algorithms [on hold]

I set up OpenSSH 6.7 on Windows 2012 Server recently. I'm able to connect to the server using SFTP with a variety of clients, such as FileZila, WinSCP, PuTTY, et al. I sent this off to someone and ...
1
vote
0answers
20 views

How do I set up an ssh -w tunnel VPN between AWS VPC and a Linode?

I'm probably not going to use this for the long term, but I still want to know why this isn't working. I've set up a simple ssh tunnel from my Linode instance to one AWS EC2 instance within my VPC. ...
0
votes
0answers
43 views

Windows Git Linux Tools - Prevent SSH timeout in terminal

I installed Git and included the Linux tools. They rock, except for the SSH times out after five or ten minutes when I am running in the console. It just freezes the terminal until I hit a few ...
1
vote
1answer
1k views

Cannot connect to Openstack Instance via horizon, but SSH works?

I've got an OpenStack deployment running inside a VM for testing purposes. My setup is as follows: Host Ubuntu x64 with Virtualbox -> Guest Ubuntu x64 with OpenStack -> Ubuntu X64 Server Test ...
0
votes
2answers
2k views

check_ssh executed from Nagios server returns “Server answer: ”, nothing else

Commmand works on the host I need to monitor (its IP is denoted as $HOSTADDRESS$ here): [root@host ~]# /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_4.3 (protocol 2.0) However, on ...
1
vote
4answers
1k views

SSH / TLS support for midnight commander?

Does anyone know if Midnight Commander could support FTP over TLS / SSH? One of our clients use Midnight Commander and we since we recently switch to explicit FTP over TLS (for security reasons) she ...
-1
votes
1answer
32 views

Ip address for ssh in a non internet environment [closed]

I am planning on using SSh.net to create a SSH connection over an offline Ethernet connection via either a hub or switch that are only connected to itself A) is this possible? B) how would I do it? ...
0
votes
1answer
14 views

Cannot SSH to Azure Linux VM from terminal

ssh azureuser@xxx.cloudapp.net : 22 when I connect and enter the password I created, then it just goes back to the local prompt and does not actually show the remote prompt. I'm thinking I need to ...
-3
votes
0answers
19 views

SSH client side Bandwidth increase [closed]

My university has some 60 kb/s cap on download speed which I want to increase but don't know how . Today I installed psiphon and connected via ssh protocol . I was getting around 400 kb/s to 1.5mb ...
2
votes
2answers
534 views

How do I write an rsync exclude for a directory tree with names containing spaces?

I'm trying to exclude a directory tree as part of an rsync command embedded in a bash script approximately like this: $OPTIONS="-rl --exclude 'Some Parent Directory/Another Directory'" rsync ...
0
votes
0answers
13 views

ssh server stops on ESXi 5.5 for no reason

I have a ESXi host that I have never been able to access via ssh. I have tried every tutorial I can find on enabling ssh via the command line and the vSphere client to no avail. I enable the ssh, ...
0
votes
0answers
15 views

Writing a fail2ban multiline regex

I've got some troublesome hosts trying it on with an SSH server I run, and I'm trying to ban them using fail2ban. Problem is, I haven't done much work with regexes, and even less with Python regexes. ...
0
votes
0answers
32 views

How to change FTP user/pass over SSH? [closed]

I have an root user on my VPS serevr. Server is based on Linux, Debian - Apache. I have got root user/password to access on it via SSH console. I did something bad and cannot figure out what password ...
2
votes
0answers
46 views

Cannot SSH from Production Server to Backup Server until Restart SSH on Backup Server

We have a hosted dedicated server running CentOS 6.5 that is the production server for our website. I have a local server that has been repurposed as a backup server also with CentOS 6.5 and is here ...