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

learn more… | top users | synonyms (2)

0
votes
0answers
10 views

Azure java sdk : permission denied(public key) when trying to ssh to vm

I have created a virtual machine using this sdk: https://github.com/Azure/azure-sdk-for-java. While I can normally ssh to virtual machines created by hand, the ones created by code using this sdk ...
2
votes
1answer
61 views

SSH terminal hangs (tty_ldisc_hangup)

The SSH console is timing out and I'm not able to execute any commands. I've noticed that I can execute commands remotely but when I try to allocate TTY it hangs: Works: $ ssh root@example.com ...
1
vote
1answer
27 views

After cloud server rebuild, why does SSH give me an ssh_exchange_identification error?

We recently had to rebuild one of our cloud servers (we use Rackspace). All servers are almost identical, and a snapshot of another server was used. Once live again, I allowed a cron job to run which ...
0
votes
0answers
4 views

nohup, screen and tmux not working when closing connection on yocto linux (intel edison) [migrated]

I have an Intel Edison with Yocto Linux and standard configurations. It had nohup pre-installed and I managed to install both screen and tmux (by compiling them from sources). Now, I would like to run ...
0
votes
0answers
15 views

How to Set a Default Remote Path for Each Website on One Server? [duplicate]

I searched and read the previously-asked questions like this one change directory automatically on ssh login, or another one suggesting editing ~/.bash_profile, but as I understand, that will work if ...
0
votes
0answers
30 views

CentOS 7 Minimal X11 forward SSHD misconfigured xauth paths

When I ssh to CentOS from Mac OSX ssh user@server -X -vv The X forwarding works fine but I've been seeing this message Warning: untrusted X11 forwarding setup failed: xauth key data not ...
1
vote
2answers
56 views

SSH works locally but not remotely

Recently ran into a hardware issue on my CentOS machine. After a PSU, ram, mobo and CPU replacement I think I have the hardware issue resolved. However, I believe I have a network configuration ...
-2
votes
3answers
37 views

Is it possible to use key based auth AND interactive auth with SSH? [closed]

I'd like to use key based auth so I can SSH to linux systems without needing to specify a password and just worry about keeping the key file safe, but there's a chance that someone else (who that ...
1
vote
1answer
36 views

Restrict SSH login to public key from public networks, but allow password from internal networks

Assume UserA is allowed to log in 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
0answers
29 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
46 views

How to force an ssh tunnel (or a ProxyCommand) to use an existing master connection? [closed]

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 ...
0
votes
1answer
16 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 ...
3
votes
2answers
47 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
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. ...
0
votes
0answers
34 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 ...
-1
votes
1answer
41 views

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

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
52 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
41 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 ...
1
vote
1answer
25 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 ...
1
vote
0answers
58 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
2answers
60 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 ...
1
vote
1answer
102 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
1answer
44 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 ...
0
votes
0answers
60 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 ...
0
votes
0answers
15 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
20 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
18 views

sshd log file entries from the past mixed in with currently occurring entries

I have sshd log entries from the past seemingly randomly mixed in (in time) with the presently occurring log entries. No remote hosts log to this server, rsyslog serves only this box. External ...
2
votes
1answer
64 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 ...
-2
votes
1answer
45 views

How to open sftp connection and execute sftp command in the same shell command [closed]

Is there any possibility for opening sftp connection to remote server and execute sftp command in same line from shell. Something like this: sftp user@example.com && put /tmp/test.txt /tmp/ ...
2
votes
1answer
179 views

SFTP-server uploaded files having wrong rights

I have been trying to figure out what is wrong with the file rights. When I am uploading files using FileZilla all the files get rights -rw-r--r--. I would want them to have -rwxr-xr-x. I have tried ...
0
votes
1answer
38 views

Amazon EC2 server cannot connect and access via putty out of sudden

I have a ubuntu server setup in amazon ec2 for few months. Today, out of sudden, the server status is not reacheable and putty is not accessible too. I've also rebooted the system, it seems to be ...
0
votes
0answers
42 views

Openshift for Play: The remote end hung up unexpectedly

I am trying to launch a play project in openshift. The first phase which was nearly 15% of the project was successfully completed and uploaded. So, I guess the initial configuration was okay. Now, ...
0
votes
0answers
17 views

Lost ssh-control on aws ec2 instance after Ubuntu update

During major update of Ubintu on my aws ec2 instance, system asked me if I want to disable ability to ssh under root user, as for most systems it's not used, but simplifies attacks. As by default I ...
2
votes
0answers
55 views

sshd accepting pub key authentication only for root

I have a peculiar problem with a headless linux box. It's a very high level "embedded" system supposed to handle NAS + mail + ftp + svn + a lot of other server stuff. I received it preinstalled and I ...
0
votes
1answer
36 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 ...
-1
votes
1answer
28 views

Why does ssh -f create multiple processes when a pipe is used? [closed]

When I on my Linux host do ssh -f 10.10.47.47 "/opt/omni/bin/mbuffer -4 -v 0 -q -I 8024 | /usr/sbin/zfs receive tank/test" then I see on the remote host 27349 ? S 0:00 bash -c ...
1
vote
0answers
22 views

Why is rsnapshot claiming source directory doesn't exist?

I'm trying to set up a backup system using rsnapshot which will copy files from a remote location into a local one. I've got rsnapshot set up, as far as I can see correctly, but when I run rsnapshot ...
1
vote
0answers
58 views

Managing Linux server from PowerShell using built-in credentials

I am the admin of a small Linux cluster running Ubuntu Server 14.04 and my workstation is Windows 10 Technical Preview (yes, a bold move to use it in production). There is an excellent free scriptable ...
0
votes
1answer
66 views

SSH access to hosts groups based on user groups using LDAP

This is my entire test ldap database for now: # extended LDIF # # LDAPv3 # base <dc=ldap,dc=example,dc=com> (default) with scope subtree # filter: (objectclass=*) # requesting: ALL # # ...
0
votes
1answer
193 views

How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. So, there is a NAT server in public subnet which forward all ...
0
votes
0answers
35 views

Enable activity logging on Cygwin open SSH (sftp) server install on Windows Server 2008 [duplicate]

I've successfully installed and configured OpenSSH using the Cygwin package on a Windows 2008 Server. I have also installed the Syslog-ng Cygwin package and configured it so that I receive basic ...
0
votes
0answers
16 views

How to setup separate projectName/gitolite-admin.git configuration repositories with Gitolite?

I want to setup a Gitolite based installation for hosting git repositories in a small organization for a limited set of projects (100 projects at most, probably less than 30) with repositories under ...
1
vote
0answers
111 views

Unable to use rsnapshot to sync non-owned files but able to do it with plain rsync command

I am trying to use rsnapshot to sync remote file to my own computer. However, I have some trouble when I need to access files which are not owned by user who is SSH-ing to the remote machine. My ...
-1
votes
1answer
66 views

VPS novice - What is wrong with sshd_config? [closed]

I've recently acquired a VPS running Debian 7 32bit Minimal and I'm very new to servers. When I try to connect using PuTTY and the SSH Access Information, I get the message "Disconnected:No supported ...
0
votes
1answer
56 views

ssh operation timed out while trying to connect from home [closed]

I got server (server X) I'm trying to connect using ssh. But I get 'operation timed out'. It happens only when I'm in home. If I change internet provider it works. Though I can connect to other ...
0
votes
0answers
25 views

PAM: authentication error

I am trying to connect from Windows 7 Jenkins slave to a MacMini machine in one of the final build process of Jenkins build. This has been working for some time now till last nigh. There has been no ...
-1
votes
1answer
26 views

2 out of 3 ssh connections are reset and disconnects immediately

I've having an issue where 2 out of 3 ssh connections are reset and disconnects immediately. what could be wrong? I would like to solve it without a reboot. I have raised the maximum number of open ...
0
votes
1answer
39 views

ssh ProxyCommand and ControlPath to two different hosts with same ip address behind different proxies

The problem: ssh config with ControlPath set to ~/.ssh/master-%r@%h:%p A third party tool which invokes ssh with a ProxyCommand ssh <proxyhost> --pty=false nc -q0 %h %p The problem is that ...
0
votes
1answer
52 views

Accessing server with its own public key

I am using ssh2_connect() in PHP to move files from one server to another. However for the time being there are not two servers and I am just connecting the server to itself. This is setup so that ...
0
votes
2answers
93 views

Knife can't ssh into newly instantiated EC2 server

I just set up a new Chef environment as I'm currently expanding my knowledge of Chef. I have a Key Pair set up on EC2, I have my Knife configuration set up. When I attempt to spawn a server, the node ...