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

learn more… | top users | synonyms (2)

0
votes
5answers
128 views

Should I change the SSH port to < 1024? [duplicate]

Many server configuration guides recommend that the SSH port should be changed to something > 1024, for obscurity and to avoid conflicts. This is interesting, because it recommends using a port < ...
-2
votes
3answers
144 views

Public Key authentication fails while using the -i parameter on ssh command

I have to do public key based authentication on two Linux servers. Machine 2 (192.168.3.132) username: vfx_30 home dir: /home/vfx_30 ssh keys: /home/vfx_30/.ssh/id_rsa /home/vfx_30/.ssh/id_rsa.pub ...
0
votes
1answer
44 views

Receiving incoming traffic without external IP and port forwarding

I have a virtual machine in the datacenter with an external IP. I can connect via SSH to this virtual machine from my desktop, but this virtual machine has no way of accessing any ports on my desktop. ...
0
votes
1answer
59 views

Group of workstations refuse to SSH to one another, but can connect just fine in and out to others

I have a group of Ubuntu 14.04 workstations that are all clones deployed via image. After imaging, they are assigned a static IP and they also delete/regenerate their host keys. Each of them on their ...
-1
votes
2answers
83 views

Add ssh public key to group instead of users on centos 6.5

I am a newbie to linux administration. I have a box with centos 6.5 x64. Ive been configuring ssh access via public/private key. Ive been wondering if I could add the public key to a user group ...
1
vote
1answer
89 views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
1
vote
1answer
89 views

Segmentation fault during apt-get install

$ apt-get install openssh-server fails with Segmentation fault when it attempts to generate keys. This leaves me with a half-complete installation, but the binaries are in place. I also notice that ...
1
vote
1answer
174 views

Accept any SSH connection irrespective of client key

Imagine I'm setting up a honeypot, what would be the quickest way to setup SSHD to just accept any connection? and yes, this is really insecure, so please don't copy :-) Might be useful (put ...
1
vote
0answers
159 views

Match Group restriction in sshd_config does not work

I have got two groups in sshd_config: AllowGroups sftpusers sshusers And I have two groups below subsystem sftp /usr/lib/openssh/sftp-server: Match Group sftpusers,!sshusers ...
1
vote
2answers
71 views

How to get the port number a user ssh'd in on?

I am transitioning servers away from port 22 in an existing multiuser environment. I have configured sshd to listen on two ports: 22 and the new port. Now I would like to detect when a user connects ...
0
votes
1answer
551 views

Vagrant not ready for SSH error on VirtualBox and Laravel Homestead

Vagrant Version: 1.6.3 VirtualBox: 4.3.14 Ubuntu 14.04 LTS 64 Bit Hey Guys, I have been on this for a pretty good while now and cannot figure this out. I have my public and private keys setup and ...
0
votes
0answers
42 views

Allow a user to access a single Git repository

Consider a server that hosts several Git repositories: $ ls -l /opt/git/ drwxrwxr-x 7 ubuntu root 4096 Jan 2 2014 george.git drwxrwxr-x 7 ubuntu root 4096 Dec 29 2013 john.git drwxrwsr-x 7 ...
-3
votes
3answers
70 views

SSH on linux | CentOS [closed]

I have a Linux server using CentOS. I have changed the SSH config to make it a little more secure, First I changed the from from default 21 (or 22?) to 34786. This way if someone tries to hack in at ...
0
votes
0answers
230 views

Jenkins SSH slave fails to create /home/<user>/jenkins

When configuring an ssh slave on Jenkins, which runs on an ec2 instance, I get the following error message when I click on the "Launch Slave Agent". [08/06/14 18:41:46] [SSH] Opening SSH connection ...
1
vote
4answers
192 views

How to give developer shell access to use GIT and manage code, nothing else?

In CentOS 6.5 (SElinux off, chroot) with Webmin/Virtualmin (latest version) I want to give a developer access to SSH within /home/site so he can use only git to manage the code. I also want to give ...
0
votes
1answer
134 views

How to clear cache in centos remote server? [duplicate]

I had been trying to clear cache in a remote server and I got these commands. First login as root user and execute: [root@server ~]# sync [root@server ~]# echo 3 > /proc/sys/vm/drop_caches bash: ...
0
votes
2answers
209 views

AWS ec2-user permission denied [closed]

I have my Apache HTTP server on Amazon Linux AMI. I am trying to install a Prestashop on my root directory subfolder as an ec2-user via SSH. cd /var/www/html but when I tried to create a directory ...
0
votes
1answer
42 views

How to set up routing tables in EC2, so that ping works

I have a wide open security group which I rely on for instances to be able to connect. I also have a private network of 172.*. addresses, as shown here: What do I need to do in order to allow ...
0
votes
0answers
60 views

CentOS 6 VSFTPD via TLS/SSL not always connecting corectly

**I have a consistency problem with my VSFTPD server. I run CentOS 6 with the latest VSFTPD installed via yum. The problem is that I sometimes (say 50/50) get connection errors like... ERROR:> ...
0
votes
0answers
26 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
1answer
62 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
218 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
53 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
97 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
67 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
34 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
356 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
40 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
63 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
143 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
443 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
272 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
48 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
280 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
59 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
73 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
73 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
42 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
26 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
53 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
2answers
133 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
100 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
803 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
21 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
37 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
135 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 ...
4
votes
3answers
358 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
338 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
3answers
66 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
51 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 ...