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

learn more… | top users | synonyms (2)

0
votes
0answers
23 views

SSH into EC2 instance through a “bridge” instance

I need to ssh into an EC2 instance which can only be accessed from another EC2 instance. So I've tried something like this ssh -N -L -i target_instance.pem localhost:22:ec2-user@10.0.0.1 -i ...
-1
votes
0answers
18 views

Can't ssh to github from a remote machine: what should I do? [migrated]

I am sshing into a remote server. From the remote server, I want to be able to ssh to github. I don't want to put my private key on the remote server, because other people have access to the ...
-1
votes
1answer
59 views

Will an established ssh connection survive a DNS migration? [closed]

If I add an ssh pubic key to a server using ssh-copy-id: ssh-copy-id -i ~/.ssh/my_id.pub user@server123.com Will I still be able to connect to the server using the hostname server123.com if the ...
0
votes
2answers
78 views

Editing sshd_config file [closed]

I'm trying to edit the sshd_config file that's in the etc/ssh (of an Ubuntu AWS EC2 server) folder. I'm using FileZilla to change the ports but no matter what I do it won't except the changes. I get ...
0
votes
1answer
44 views

Should I still disable root if I disable password authentication and enable only key authentication?

I'm new to the linux world and I've been reading a few tutorials on security. I've seen some questions on StackExchange tackling this subject, but from what I've seen, none of the answers clarified ...
0
votes
1answer
33 views

Automatic updates for NAT instances and SSH connections in a AWS VPC with private subnets

My current website architecture has two Ubuntu servers with public IPs in Rackspace Cloud. One of them is web and mysql server. The other one is for time-consuming calculations only. Both of them ...
0
votes
2answers
32 views

Keypair with Shellinabox?

I've got an Amazon EC2 instance with a keypair, and I want to setup shellinabox so I can ssh from any web browser. However, shellinabox only seems to allow password logins and I wasn't able to find ...
0
votes
1answer
25 views

On EC2, when does the host key change?

I have an instance on EC2 that I think I Stopped at one point or another. When I restart it and tried to ssh in, I got those messages about the host key having changed. But why? Is it because the ...
0
votes
1answer
60 views

The term 'Get-ClusterResource' is not recognized as the name of a cmdlet, function, script file, or operable program

I have a powershell script that I'm attempting to execute over SSH. The command works perfectly when I run it from the server's powershell commandline. Here is my Powershell script: ...
1
vote
2answers
38 views

How do I output the previous logged in IP's during an SSH login to my ubuntu server?

I have Ubuntu 12.04 installed and everytime I log in, I would like to see the previous IP addresses that logged in to my server. How would I go about doing this? I have fail2ban installed already.
2
votes
1answer
40 views

sshdOpenSSL version mismatch - update sshd from rescue mode

After upgrading with apt-get upgrade then sshd is not starting at boot upgrade apt-get update && apt-get upgrade error on boot Have tried to boot in rescue mode and run the following ...
2
votes
4answers
88 views

Run local script over ssh

silent ssh is setup from server A to server B (and some 500 other servers) I have written a script on server A (shell and perl) that I want to execute via ssh on server B (and the other 500 servers). ...
1
vote
1answer
42 views

how to use both AllowGroups and AllowUsers in sshd_config

I'm trying to modify /etc/ssh/sshd_config on my dedicated debian7 server with both AllowUsers and AllowGroups. However I can't seem get both to work together. The Setup a user testuser testuser ...
0
votes
1answer
52 views

ssh, telnet to AWS EC2 instance time out

I can't connect to my AWS EC2 Ubuntu instance. I appear to have the address and user right, the security group allows connections on all ports, and I'm using the right key pair. SSH and telnet keep ...
1
vote
2answers
37 views

copy between remote server with local authentication

When I need to copy some files between two remote servers, I usually scp -3 user@server1:path user@server2:path unfortunately, since that routes traffic through my machine, that is very slow when ...
3
votes
1answer
256 views

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 ...
0
votes
2answers
52 views

Throw brute-forcers into a honeypot, but still allow real SSH logins?

So just for fun I opened up SSH to the world and a few bots have latched on to my server (unsuccessfully trying to log in by password). But of course this fills up the logs. I've attempted to use ...
1
vote
1answer
42 views

Stop Jenkins from modifying known_hosts

I have a Jenkins installation in CentOS 6 where the known hosts file, /var/lib/jenkins/.ssh/known_hosts, is under configuration management. It contains, for instance, a key to a source control host ...
0
votes
1answer
41 views

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 ...
0
votes
1answer
32 views

chattr: undefined symbol: set_com_err_gettext

I've moved my CentOS 6.5 installation to a new server and I'm unable to use chattr on my new server: chattr: symbol lookup error: chattr: undefined symbol: set_com_err_gettext How to resolve this ? ...
0
votes
0answers
21 views

how ssh know where to send data when used with ProxyCommand

How ssh know where to send data when ProxyCommand is used? For example we have following host configuration: Host someRemoteHost_proxied User remoteUser IdentityFile ~/.ssh/id_rsa ...
0
votes
1answer
49 views

setup ssh a special kind of ssh tunnel

Ok so I have run into a pickle. I have a web application that I really need to demo this weekend. I can't demo it unless my sysadmin (who is off work) takes down client SSL authentication. There is ...
-2
votes
3answers
75 views

Two factor authentication for SSH [closed]

I am looking for a 2 factor authentication system that supports; Public Keys SFTP logins Right now the options I know, Authy: Allows you to use it with Public Key authentication but it fails SFTP ...
1
vote
0answers
39 views

Investigate strange message from syslog@stock

I've noticed that when I'm logged into my server I sometimes get spammed a message from syslog@stock. On this server I am running a website built with Laravel and a Teamspeak 3 server running with ...
5
votes
4answers
571 views

Should I install x86_64 or i386 RPM packages? [closed]

I am wanting to install an RPM package, but I'm not sure whether to install the x86_64 or i386 version. WHM says CENTOS 6.5 i686 virtuozzo at the top. How can I determine which version to install?
0
votes
0answers
17 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
0
votes
1answer
24 views

process zombifies while trying to connect on server then disappears

I have connection problems on my server: often, ssh hangs when trying to connect sometimes, other commands take too much time, like su - someuser when I restart the daemon, it quickly listens on ...
3
votes
3answers
78 views

Reuse remote ssh connections and reduce command/session logging verbosity?

I have a number of systems that rely on application-level mirroring to a secondary server. The secondary server pulls data by means of a series of remote SSH commands executed on the primary. The ...
1
vote
1answer
80 views

Restricting the network access of Docker container

I'm in the process of creating an SFTP only Docker container, one that will be used by multiple people for the sole purpose of uploading and managing files in their own Chrooted Environment. On ...
1
vote
2answers
83 views

SSH using publickey not working on debian (Permission denied (publickey,password).) with clean /var/log/auth.log

For some reason, ssh over publickey isn't working as expected. I've set this up before, and it's worked before on other machines. No idea what I'm doing wrong here... very verbose output of ssh ...
0
votes
0answers
29 views

WinSCP has to constantly reconnect to my Ubuntu Server [migrated]

I am on a Window 7 machine so I am left to using a tool like WinSCP to manage my remote servers which run Ubuntu. I do use a good old command line too but for file management I generally use WinSCP, ...
0
votes
3answers
54 views

How to know which SSH user deleted my folder?

We have a linux server in our lab which is shared among a number of developers. Server credentials (NOT root) are known to all and they log in using SSH. Now, when I logged in today I just realized ...
1
vote
1answer
27 views

SSH connection gets dropped when attempting to deploy site using rocketeer

I'm trying to deploy a Laravel site to a development server (cPanel based) using Rocketeer. I am having a problem maintaining the SSH connection, and the server is dropping the connection after ...
0
votes
1answer
156 views

GitLab - Does not accept pushes via SSH [asks for SSH password], works with HTTP?

I have looked at multiple solutions for this problem, including: Gitlab unable to push via ssh Gitlab not working with SSH Keys ...
0
votes
1answer
44 views

Secure Public SSH Login w/ Limited Access

The title may make my question seem absurd, but, hear me out. The Overview: I am creating a project whereby I'd like my users to be able to connect to the server they are using to audit its ...
0
votes
1answer
50 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 ...
2
votes
0answers
37 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 ...
2
votes
1answer
52 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 ...
0
votes
2answers
42 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 ...
0
votes
0answers
42 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
2answers
133 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
1answer
23 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 ...
0
votes
1answer
50 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 ...
-1
votes
1answer
39 views

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

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 ...
0
votes
3answers
79 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
127 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 [ + ] ...
0
votes
2answers
62 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 ...
0
votes
2answers
70 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
50 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, ...
0
votes
2answers
70 views

How to stop SSH passphrase prompt? [closed]

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 ...