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

learn more… | top users | synonyms (2)

0
votes
1answer
85 views

EC2 firewall not allowing a certain ip address to SSH into any instances regardless of it being added to security group

My security group settings are accurate. I have tried adding the specific ip address that I am trying to connect from and also connections from all ip addresses (0.0.0.0/0), but my connection attempts ...
-7
votes
1answer
63 views

SSH login with no authentication [closed]

I have an account (root, if it makes a difference) set up without a password (passwd -d), which enables me to log in with no authentication through the console. SSH however insists on a password. How ...
0
votes
1answer
46 views

Server randomly receiving ctrl-c

I have CentOS-server on VirtualBox (Using Vagrant) which is running a very long php-script (It can take up to 5 weeks to fully complete) This script is runned over ssh using cygwin. The script is ...
0
votes
1answer
181 views

Redhat OpenShift - Connection refused fatal: The remote end hung up unexpectedly

I'm trying to start using Redhat OpenShift with a JBoss 7 Server Cartridge, but as I'm trying to do a git clone I get: $ git clone ...
0
votes
1answer
74 views

OSX: ssh-agent caching passphrases…but when cleared?

I have a ssh RSA key in a client OSX 10.9.4. The SSH server is ubuntu. Everything works OK, but the problem is that my OSX ssh-agent seems to be caching the passphrases. The first time I ssh, it is ...
-1
votes
2answers
46 views

How to discover my own IP address after login? [duplicate]

When I use SSH to connect to a Linux server, I see a message informing me about the origin of my last login. For instance: Last login: Mon Jul 7 14:37:09 2014 from host.example.net I would like to ...
0
votes
2answers
62 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 ...
0
votes
2answers
64 views

How can I ssh into a vagrant virtualbox VM from an external machine?

I'm trying to set up a server on my desktop with vagrant, but while I can ssh (via PuTTY) into the VM at localhost:2222, I can't ssh into it via my local or public IP addresses - even though I have ...
0
votes
1answer
84 views

Redirect ssh trafic for one user through another port

Is it possible to have a configuration like this: A server which listen ssh connections on port 22 as usual For one user (let's say git) redirect all the traffic through another port (2222 for ...
0
votes
1answer
252 views

Only allow user SSH access to one directory

I have a server running Centos 6.4 and I need to allow a freelancer access to one folder on the server to upload some code and do some testing - I have set their home directory in /etc/passwd to: ...
0
votes
1answer
72 views

OpenSSH client sends environment variable it should not

I have a host that doesn't have the termcap entries for non-standard terminals and I cannot add them (policy). I use tmux which sets a terminal type to something that this device does not recognise. ...
1
vote
1answer
104 views

autossh does not kill ssh when link down

I have started my autossh witt a poll time of 30 s: AUTOSSH_POLL=30 AUTOSSH_LOGLEVEL=7 autossh -M 0 -f -S none -f -N -L localhost:34567:localhost:6543 user1@server1 And it is working fine: Sep 5 ...
-2
votes
1answer
363 views

Git Extensions using Putty: The Servers Host Key is Not Cached in the Registry (but I think it is)

Following the commands below, I am under the impression that my key is added to "the registry". What am I doing, or where is putty screwing up. I should note that scp alone works because I coppied my ...
1
vote
0answers
37 views

Automatically add rules to iptables when an user logs in or logs out with ssh?

I'm looking for a solution to automatically add couple of rules to iptables when an user logs in and remove those rules when it logs out. I'd like to get somehow get the ip address of the user from ...
1
vote
1answer
32 views

SSH locale wrong

I have a debian server with locales set to hu_HU.UTF-8, and if i log in trough console it works perfectly in hungarian. It also worked with ssh logins until i disabled PAM in the sshd config. Since ...
0
votes
0answers
25 views

Remotly syncing NAS behind routers I don't have access to

We have several NAS (WD My Could Mirror) that travels to multiple cities and are fed locally with images, audio, video, etc. This content needs to be synced to our main office. I am trying to use ...
-1
votes
1answer
211 views

Access to ESXI using Ansible (python)

I'm want to execute a command using Ansible on an remote ESXi but it seems that a module grp is missing. # ansible esxi -a "date" esxi | FAILED >> { "failed": true, "msg": "Traceback ...
3
votes
1answer
76 views

Securing the primary Ansible user

It seems that there are only two reasonable approaches for the primary Ansible user: Using root Using another user (e.g., ansible) with NOPASSWD sudo access The first option is a no-go since I ...
1
vote
2answers
82 views

Deleting a Key Pair for AWS EC2 Instance with EBS

I have an AWS EC2 Instance using EBS and I want to stop the use of the current private key, and use a new one. As I understand it, merely deleting the key pair on the AWS Console just deletes the ...
-4
votes
1answer
28 views

Disable ssh auth by keys

Usually all disable ssh login with password only. I'm asking about reverse situation. Does sshd_config allow to disable authentication with keys only?
0
votes
1answer
837 views

ssh: connect to host port 22: Connection refused -> AWS

Just moved offices. Our production servers are on AWS and the Security Groups have being updated to reflect our new External IP. I have tried another computer with the same response both Mac OS X. ...
0
votes
1answer
21 views

Does using -o with ssh not read the config file?

The title pretty much explains my entire question. The reason I'm asking is that I have a specific IdentityFile set for a certain host but the command that is being run which is out of my control uses ...
33
votes
8answers
4k views

How can I run arbitrarily complex command using sudo over ssh?

I have a system that I can only log in to under my username (myuser), but I need to run commands as other user (scriptuser). So far, I have come up with the following to run the commands I need: ssh ...
0
votes
1answer
50 views

when ssh from mac to ubuntu server, it will be added to hosts.deny

information I asked the same question in stackoverflow.com and was told that this would be a better place to ask. I'm running an Ubuntu Server 13.10. I can connect to it using SSH from any computer ...
2
votes
2answers
127 views

RSync stalls after 32768 bytes

I have an issue which I am struggling to understand. I have a server which is hosted by a business parter on their network but my team is responsible for installing and configuring software to this ...
0
votes
3answers
108 views

Deny connection to and from a specific hostname on Ubuntu/Apache2

My wordpress EC2 server was probably hacked. When running iftop command I can see that my server sends and recieves data from a hostname name "i157panamamails.com". This hostname never goes away and ...
0
votes
1answer
76 views

Site to site ssh tunnel

I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks. I have configured the ssh tunnel on both sides with routes to ...
-3
votes
2answers
63 views

How to use same static IP from anywhere [closed]

Not sure if this belongs here or is a dumb question so feel free to kindly tell me to get out of here(I'm New to all of this). So I need to be able to have SSH access to a server for pulling down ...
0
votes
0answers
43 views

Connecting to Access Switches Management Console via SSH

In a typical lab setup: [USER] -> [Cisco 2960X] -> [Cisco 3560X] -> [Firewall] -> [Router] 3560X carry all the internal routing, VLANs and is the VTP server. It has below IP settings: Management ...
11
votes
2answers
812 views

Why does Google recommend removing SSH keys from GCE for security?

Google recommends removing SSH keys from GCE instance to secure SSH. That does not make any sense to me. The keys are there for a security, right? When I remove the keys, SSHD stops working. I ...
1
vote
1answer
88 views

SSH fails with host not found, but NSLookup finds that host

I have a small business network with several servers on it. To simplify things, I added a BIND9 DNS server on one of them, with entries for each of the local machines, i.e. vpn.example.com, ...
0
votes
0answers
74 views

Why is Putty throwing Publickey error in cygwin ssh call?

I have used the Windows CMD tool to push to github and Heroku using ssh keys through PLINK but we've changed over to Mercurial as our SCM which puts a complexity in pushing to Heroku. For instance, ...
2
votes
1answer
125 views

Making proxy available on remote server through ssh tunneling

I know I can use ssh tunneling to create a "proxy" on my machine so that I can make all the traffic generated locally go through a remote server. Like this: $ ssh -D 12345 myuser@remote_ssh_server ...
3
votes
1answer
72 views

Can I use something like a tunnel for SSH in this Linux/Windows Remote Desktop scenario?

I have a Linux server (call it server-L) which i cannot directly ssh to it. In order to ssh it i should connect to a windows server(call it server-W) and then make ssh connection from it to my Linux ...
1
vote
2answers
35 views

Signal delivery system for routers [closed]

My network have one server and many routers (around 300 and will be more, all working on OpenWRT). Routers don't have public IP and server can not connect to them. But i need to know that routers is ...
1
vote
1answer
56 views

rsync over ssh issue

I RTFMed rsync to the bone, but I just cannot figure out what I'm doing wrong here. I'm trying to sync two folders across SSH. Folders are identical save for one file, as you can see here: ...
2
votes
1answer
178 views

How to get the list of SSH tunnels connected with the username used?

The connection is established from Desktop(D) to Server(S) with ssh -D PORT username@Server. From the Server, the list of ssh users connected can be obtained with who, but the ssh tunnels are not ...
0
votes
1answer
47 views

Deal with brute force ftp attack [duplicate]

While Checking the /var/log/secure on my centos server have found lot of attempts of failed login by using unknown usernames, from a list of ip from Japan And China How to hide my server from these ...
-1
votes
1answer
57 views

Move directory from local machine (linux) to SSH server

i am trying to move one my folders from my local machine to my ssh connection. i have been trying with the following command: scp -r /var/www/foo/ root@******/var/www/foo However when i try i get ...
-4
votes
2answers
66 views

Where to safely store ssh private key? [closed]

I'm using ssh keys to log in some servers. My private keys hasn't a passphrase, but I'd like to store it in an encrypted online storage service. Is that safe? Are there any free available options? If ...
-2
votes
1answer
59 views

How to get rid of firewall blockage to ssh to my ec2 instance [closed]

I've made my ec2 instance on AWS and I worked on it at home like a charm and everything went fine (connection wise) Today I went to the library and when I tried to ssh into my ec2 using PuTTy as I ...
0
votes
1answer
140 views

SCP transfer doesn't work and SSH ls freezes

I am trying to copy some file via ssh with a SSH-RSA public key. I've already accepted the host key in my server and viceversa so the keys are synchronized. Now I try to connect via SSH to the host ...
-1
votes
1answer
83 views

Login by ssh , change the remote PS1 and don't quit the remote ssh shell [closed]

I want to change PS1 when i ssh another centos strshell = 'PS1="remote!"' os.system("ssh -i %s -l%s -p%s %s %s"%(SSH_KEY,SSH_USER,SSH_PORT,des,strshell)) ssh quit automatically. I want to ...
1
vote
2answers
64 views

Issue with sharp in host vars Ansible

Since # is considered as a comment in /etc/ansible/hosts I'm unable to use a password containing a sharp. [hosts] host1 ansible_ssh_user=user ansible_ssh_pass=userpass ansible_su_pass=My#Password ...
3
votes
2answers
136 views

How to run sshfs through ssh command?

I tried to run sshfs through ssh in one command. For example, if I do : $ ssh user@host user@host$ sshfs host:/src /target Everything is ok. Now, if I tried this in one command : ssh -t "sshfs ...
0
votes
2answers
714 views

ssh timeout issue connecting to an EC2 instance on OS X

I am new to AWS and not a networking expert but curious to know more about it. I created a VPC with a public subnet only. Then i created an EC2 instance using an Ubuntu 14.04 64-bit pv AMI image ...
1
vote
2answers
38 views

How to get the Host value inside ~/.ssh/config

Within a ~/.ssh/config or ssh_config file, %h will give you the HostName value, but how do you get the Host ("alias") value? Why would I want to do that? Well, here's an example Host ...
0
votes
1answer
33 views

Amazon Security Groups: Change Inbound SSH Port

How can I change the Inbound SSH Port on my Amazon Security Group? When adding a new rule for SSH, the Port defaults to 22 and cannot be edited. Is this possible? Please note: This question is ...
0
votes
2answers
110 views

Run Bash Script Another Server

I want to run command one by one, for change the names of the directories on the server. When I run script, directories renamed in server 1. But, directories are not found in server 2. What the ...
0
votes
2answers
183 views

Can't ssh from CentOS 6.5 to SUSE LINUX 10.1

We have quite an old installation of SUSE LINUX 10.1 (i586) in the office. The problem shortly: I can successfully ssh to it from machines in the same LAN (192.168.1.0) but not from machines in the ...