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

learn more… | top users | synonyms (2)

0
votes
0answers
27 views

Authorizing users to SSH into machine - where to configure?

Ubuntu Trusty here. I'm having some trouble deciding where in the system I should configure which users are to be allowed to ssh into the machine, and which keys they're allowed to use. I've ...
0
votes
1answer
38 views

SSH connection timing out on certain clients only

I have a server that has around 100 SSH tunnel connections active from client servers across Canada and the US. We use the same device that runs a custom build of Ubuntu and load that on each client ...
2
votes
1answer
39 views

Non-invasive way for our network team to run ping/tracert/etc from various servers

In troubleshooting connectivity issues, our network team lacks the rights on our servers (Windows and RHEL) to connect and test connectivity (for example, when tweaking a firewall rule, a ticket ...
2
votes
0answers
22 views

Specifying multiple SSH signed certificates for one Identity file

I am looking to implement signed certificates for SSH authentication. I have followed the steps here and am now trying to figure out how I am going to implement it on my systems. As an example, we ...
0
votes
2answers
50 views

iptables treating ssh and http requests differently

Here are the facts: server (IP 192.168.1.140) that runs openssh on port 22 and nginx on port 80 server sits behind firewall/router (IP 192.168.1.1) that has identical iptables rules for openssh and ...
-1
votes
0answers
20 views

How to run ssh(or git) command in a process stated by /etc/init.d/*?

I want to run git clone in my web app on a Ubuntu server, when I send a request to it. But I just got this error: Permission denied (publickey). atal: The remote end hung up unexpectedly My web app ...
0
votes
2answers
26 views

SSH tunneling in background

I'm trying to tunnel my production mongo server to my test server, so, I can perform some tests. I know I can simply establish a tunnel by ssh -L, but I need to run this as a background process as I ...
0
votes
2answers
26 views

how to enable scp only on public interface and ssh only in internal interface

Server A has a public ip and a private ip, each on another vlan and thus on another virtual interface. How can I enable scp only on the public ip and ssh only on the private IP, for all users. Kind ...
1
vote
3answers
269 views

SCP to a server where I have SSH permission

I am trying to SCP a file I downloaded using this command: scp -v agenadinik@slabrams-desktop:/home/agenadinik/Downloads/agraph-4.2-linuxamd64.64.tar.gz ...
0
votes
0answers
17 views

Kerberos and SSH login

I've just configured a RHEL 7 for windows authentication (idmap_ad). Every check works but if i try to ssh with a domain user i get the error: Connection closed by ::1 Here follows the ssh log in ...
0
votes
1answer
16 views

ECDSA error ssh'ing to two proxied machines with same IP address

I have two networks, each with a bastion host and a webapp host behind it. I've set up my ~/.ssh/config with ProxyCommand so I can log in to either webapp host from my local machine with just one ssh ...
-1
votes
2answers
37 views

ssh connections dropped, need a keep-alive for ssh client

I am not a real Network Engineer, but play one in my home LAN and in our cluster at the data center. I'm on my LAN at the home office and my servers are at data centers in Atlanta, Chicago and ...
2
votes
2answers
66 views

How can I disable/suppress the warning I get for having SSH enabled on an ESX/ESXi host?

I administer a large number of ESXi hosts, and in order to do that efficiently, I pretty much need to have SSH allowed into the hosts at all times, as it's just far too burdensome to enable and ...
-1
votes
1answer
23 views

Connect to remote host from windows using SSH/pem [on hold]

So I have a .pem and I need to connect to a remote machine using that. I have been told to do: ssh -i key.pem root@remote machine Before that I am supposed to chmod 600/400 on key.pem I am on ...
4
votes
1answer
879 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
24 views

MySQL access denied error when connecting via SSH tunnel

For months I've been connecting to the MySQL instance running on our local test server through an SSH tunnel without any issues. All of sudden though, with no changes I can think of, the server has ...
5
votes
1answer
92 views

Understanding service --status-all output

I am trying to understand the output of the service --status-all command on Ubuntu 13.10, since the man page doesn't explain it. For example: [ + ] rsyslog [ - ] sendmail [ ? ] sendsigs [ + ] ...
1
vote
4answers
5k views

What's the best way in Windows to manage multiple ssh sessions (via putty?) to look at clustered servers?

There's a tool called cssh for linux that has simular use to what I'd like to have on Windows. Basically I'm logging into servers that are identical to each other and I'd like to be able to type the ...
0
votes
1answer
1k views

Start and shutdown tomcat via ssh

Updated I find out that the path of jdk it using is wrong. eval: 1: /opt/Java/jdk1.6.0_25/jre/bin/java: not found the Java should be lower case java, how is that happen? When I run this script ...
0
votes
2answers
40 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
2answers
30 views

Where is the configuration that instructs linux 14.04 to enter single user mode?

I have an EC2 Instance of Ubuntu 14.04 Fails to restart after stop/restart. It was upgraded from 13.x and apparently AWS has the web ui setup to send a 'reboot now' command which instructs 14.04 to ...
0
votes
2answers
28 views

Socks proxies over SSH show same IP

I have recently been setting up proxies via SSH on my VPS and when I connect the non main IP via a browser and look at my IP, it shows up as the main IP, is there any way i can fix this? For example, ...
-1
votes
1answer
37 views

SSH - ftp user multiple folder permissions [closed]

I have a server with SSH access. Hope anyone can help me very quickly with permissions. I have a folder, in that folder there are 10 more folders (f1, f2, f3, f4, f5, f6, f7, f8, f9, f10). I created ...
1
vote
1answer
42 views

SSH via terminal succeeds, but same SSH connection via Ansible fails on same machine?

Can anyone possibly shed any light on why this is happening? I am logged into machine A, the client, with user basicuser. When I try to run an ansible playbook on machine B (server machine, as ...
2
votes
3answers
1k 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 ...
0
votes
2answers
38 views

How to stop SSH passphrase prompt? [on hold]

I have a server I just opened. When I ssh as nt_deployer, it asks me for an ssh passphrase: Nets-Mac-Pro:mysite emai$ ssh nt_deployer@mysite-staging.nettheory.com Enter passphrase for key ...
15
votes
4answers
3k views

Can you have more than one ~/.ssh/config file?

We have a bastion server that we use to connect to multiple hosts, and our .ssh/config has grown to over a thousand lines (we have hundreds of hosts that we connect to). This is beginning to get a ...
0
votes
3answers
2k views

Linux SCP File transfer No space left on device?

I am trying to transfer one zip file from a linux based machine to a Windows based using SCP. I can go through the transfer ok but when it completes it says "No space left on device". The ...
18
votes
8answers
51k views

“Add correct host key in known_hosts” / multiple ssh host keys per hostname?

Trying to ssh into a computer I control, I'm getting the familiar message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ ...
2
votes
2answers
47 views

SSH key problems: Not a RSA1 key file unknown key type '-----BEGIN'

A backuppc server is able to sign into remote machines as root and backup them up, but if I sign in as the backuppc user and try to ssh into these machines using the same key, the key is rejected with ...
0
votes
0answers
17 views

Connection reset by peer - Bad protocol version identification '\272\334

I am getting an error of Connection reset by peer when trying to communicate with a VME card through a single board computer with ORCA. Checking /var/log/auth gives me the error Bad protocol version ...
0
votes
1answer
26 views

How to prevent syslog message popping in a ssh session without affect other sessions?

i have a machine(RHEL 5.2) which receives syslog message from remote machines. And now it keeps popping message from remote machine in a ssh shell, which is annoying when i want to do something on it. ...
0
votes
0answers
11 views

Periodically SSH process hangs on AIX

On one of our AIX servers, the following ssh process hangs sometimes: Server1# ssh -i /rsync-key Server2 "rm file" & It is a string of script in the crontab. This problem is not always ...
-5
votes
1answer
30 views

What kind of ssh certificate does CentOS use by default? [closed]

I'm trying to obtain the login and password of a CentOS server. A client is connected to the server via ssh and I have already obtained the data they share with Wireshark, but of course the data are ...
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 ...
13
votes
3answers
10k views

Where's my tab completion and up-arrow behavior? (Ubuntu 10.04)

I'm new to Linux, trying Ubuntu 10.04, preconfigured by host. When I log in (SSH) using the preconfigured account, the shell prompt is: user@hostname:~$ The up arrow scrolls through the list of ...
1
vote
2answers
136 views

Amazon EC2 instance SSH RSA Fingerprint

Any time I stand up a VM in EC2 and you ssh into it for the first time, I always get this message: The authenticity of host 'ec2-xxxxxx.compute-1.amazonaws.com (n.n.n.n)' can't be established. RSA ...
5
votes
3answers
455 views

Copy data through SSH tunnel over multiple hops

We have two main environments in question: Development and QA Each environment has two servers: Jump Box Application server In order to connect to the application server, you must connect to the ...
0
votes
7answers
144 views

better way to loop through a list of servers

I regularly do things where I loop through a list of servers to take some action. For example: for s in `cat servers.txt` ; do echo; echo $s ssh $s 'do something' done I'm wondering (from a ...
2
votes
4answers
114 views

Can one server see traffic to another server inside a VLAN?

Scenario: I have a rack of servers that all belong to the same private VLAN. I transfer data from Server 1 to Server 2. Is it possible for any of the other servers to sniff out the data sent or is ...
0
votes
2answers
42 views

find and replace multiple files using a file as input to find and another to replace

I need to replace several chunks of text inside some php scripts... i have: find . -name 'products.php' -exec grep --silent 'TEXT_TO_FIND' {} \; -exec ls {} \; -exec sed -i ...
14
votes
6answers
14k views

protocol version mismatch — is your shell clean?

When following the instructions to do rsync backups given here: http://troy.jdmz.net/rsync/index.html I get the error "protocol version mismatch -- is your shell clean?" I read somewhere that I ...
-1
votes
1answer
18 views

how to help 2 devices share local ports behind firewall through a ssh server with ssh reverse tunnel port forwarding [duplicate]

A diagram of the project: It is working under Putty with its GUI configuration, but it is not working if using command line through Putty. how to replicate the GUI settings in putty with command ...
0
votes
2answers
43 views

SSH attacks on Freenas [closed]

I had my freenas box set up using no-ip to forward ssh requests to my machine so that I could get to it from work, friends house, parents, etc. A couple days ago i noticed a large in crease in ...
-1
votes
0answers
18 views

Hide what in w - sshd [closed]

when I enter "w" in debian term it shows me what others are doing, i dont want my stuff to be seen. how can I hide that? I have full root access. I'd like to have sth like: WHAT: private cheers and ...
0
votes
0answers
44 views

ssh reverse tunnel port forwarding connection fails

Updated: diagram http://s22.postimg.org/b2jfgawup/diagram_ssh_tunnel_a1.png I am able to do a reverse port forwarding through the PUTTY GUI with settings similar to below. once I apply this setting, ...
0
votes
0answers
19 views

SSHD reverse mapping fails, but nslookup, dig, and host resolve correctly [migrated]

I just set up a dhcp/dns server to manage my home network. After I got everything up and running (and maybe before - I wasn't paying close attention), I noticed that logging into ssh was slow. I ...
0
votes
2answers
1k 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 ...
0
votes
0answers
7 views

ajaxterm using proportional font [migrated]

I have Ubuntu 14.04 LTS, Apache 2.4.7, Python 2.7.6 and Ajaxterm 0.10-12ubuntu1. Ajaxterm is proxied via Apache. Here's the apache.conf excerpt: # Suppresses the Via header ProxyVia Off # Do not ...
0
votes
0answers
27 views

Distributing Master node ssh key

For the master node to passwordless-ly ssh into the slaves, the master needs to distribute its ssh key to the slaves. Copying key using ssh-copy-id asks for the user password. If there are hundreds of ...