0
votes
0answers
66 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
67 views

How do I force sftp user to start in their home directory

I am using RHEL6 and I set up an sftp server through sshd. Here is the relevant sshd config: Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp X11Forwarding no ...
0
votes
0answers
599 views

SSH hangs after authentication

When logging in to one of my servers over ssh, it just hangs after authentication. This is the output on the client with -v. OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading ...
0
votes
2answers
410 views

Number of SSH connections rises, and blocks data?

We have a client server setup, where the client sets up an SSH tunnel and uses port forwarding to send data to the server: ssh -N -L 5000:localhost:5500 user@serveraddress The normal number of SSH ...
0
votes
2answers
161 views

rbash to limit user to its home directory closes sftp connection

Server: Red Hat Enterprise Linux Server release 6.5 (Santiago) Using openssh-server to allow sftp connexions. I'm trying to limit users to their own personal home directory. So i modified ...
2
votes
2answers
112 views

Redhat init script on startup

I installed Redhat 6.4 and created a new init script which updates a project using SVN. I then configured the script in chkconfig. The problem is everytime i restart the server i lose ssh ...
1
vote
1answer
79 views

Listen multiple ports for SSH and restrict users from live IP

I have a live IP forwarding port 52000 on my RHEL 6.2 server. My server listens to 22 and 52000 for traffic. The setup is working fine. Users from internet are able to login into the system. But I ...
0
votes
1answer
112 views

How to find back gnome-terminals (SSH sessions) in GNOME?

I often have tens of gnome-terminals opened when I am working at my CentOS Desktop (Virtual Machine). This can mean I have about 40 open SSH sessions to different servers. What is the best way to ...
2
votes
1answer
117 views

NFS drops out when .bat script is run

I have a .bat script that runs from a Windows 7 machine. Part of the script is to use plink to ssh into a Red Hat machine and run a couple commands. I have about 4 or 5 plink commands within the ...
6
votes
2answers
345 views

SSH unresponsive after stopping Tomcat, many ksoftirqd CPU usage

I have a weird issue. Every time I stop Tomcat, SSH becomes very slow, almost totally unresponsive. It takes a minute or even more for SSH to accept any command. When I finally get Tomcat started ...
3
votes
1answer
336 views

Is it possible to force SFTP rather than allow SCP fallback ?

I have a Red Hat 5.4 server with openssh OpenSSH_4.3p2 and have been trying to setup scp/sftp logs in my server, but I am running into some problems. I followed the directions in this other post. ...
0
votes
1answer
136 views

Remote server administration on a large scale

I need to remotely manage virtual machines (many of them) via secure channel. SSH inbound is disabled. Anyway to use some web based tool running behind SSL. It will be used to push updates, config ...
3
votes
3answers
14k views

Where is the sshd log file on Red Hat Linux stored?

Can someone please tell me where to find the SSHD log on RedHat and SELinux.... I would like to view the log to see who is logging into my account..
2
votes
2answers
2k views

Running SSHD on multiple ports on CentOS release 6.2 (Final)

I am running CentOS release 6.2 (Final). I want the sshd port of listen on ports 22 and 1022. I have add the following lines to /etc/ssh/sshd_config: Port 22 Port 1022 and restarted sshd and ...
2
votes
1answer
1k views

pam_tally2 or pam_faillock account lockout with ssh

I'm running RHEL 6.2. Most users will be using SSH to login using passwords. Some might have keys. All accounts are local. I need to lock users out after N failed password logins. The examples in ...
2
votes
1answer
887 views

Are CVE-2010-4478 and CVE-2011-0539 fixed in OpenSSH 5.3?

I'm running OpenSSH 5.3p1-81.el6_3, which according to my server is the latest stable version. My PCI scan is showing CVE-2010-4478 and CVE-2011-0539 exploits as being present due to my OpenSSH ...
1
vote
2answers
796 views

RHEL 5/CentOS 5 - sshd becomes unresponsive

I have a number of CentOS 5.x and RHEL 5.x systems whose SSH daemons become unresponsive. This prevents remote logins. The typical error from the connecting side is: $ ssh db1 db1 : ...
0
votes
1answer
5k views

How to change ssh timeout on server side?

I have a shell script to export oracle tables. The script will print some text during executing, such as "exporting tt_customers......1343 rows exported". This script was run on redhat 5.7 enterprise ...
5
votes
4answers
3k views

On AWS do I have to open ports in an EC2 instance's firewall as well as security group?

If I change my SSH port from 22 to 23453, I can no longer ssh in. In more detail, I'm using a Red Hat EC2 instance on Amazon Web Services. This is the second change I've on a fresh install (first ...
0
votes
1answer
1k views

SFTP, Chroot problems on Redhat

I'm having problems setting up sftp with a ChrootDirectory. I've done an equivalent setup on other distros, but for some reason I cannot get it to work on a Redhat AMI. The changes to my sshd_config ...
-1
votes
3answers
185 views

super user ssh login

Im using redhat 6.0, As I need one more super user access other than root user and named it as "master" , so I created a user and assigned uid 0 to that user then I have restricted ssh login for ...
5
votes
5answers
959 views

Linux - How to manage the password of root?

We have just deployed a couple of Linux server. Each sysadmin will have his own account on the server (i.e.: jsmith), and will connect using SSH with a certificate which will be put into the ...
1
vote
2answers
1k views

How to configure RHEL so users can access an app GUI remotely

I have an application installed in my RHEL6 box that has a GUI (AppGui.sh). My problem is that a few non-tech users would like to access this GUI remotely. I've tried several guides over the internet ...
2
votes
1answer
1k views

How do I correctly SSH port forward using LiveReload on Redhat?

Referencing this page: http://feedback.livereload.com/knowledgebase/articles/86280-if-you-edit-files-directly-on-your-server It says you can remotely port forward the LiveReload specific port of ...
-1
votes
2answers
60 views

Logging in using SSH keys

I created a non-root user, new_user, on a Red Hat Linux machine. I then logged in as new_user and created a private/public key pair. I've created /home/new_user/.ssh, and I've appended the public key ...
2
votes
1answer
311 views

SSH - sent password / access granted very slow

I wrote a question the other day regarding slow authentication. disabling GSSAPIauth did the trick. However, I am now faced with another issue. When reviewing the PuTTY event logs, i now have ~20 ...
1
vote
1answer
34 views

Mongo is not account specific

I have mongo running on my system however I can access all my databases/collections from other peoples accounts. Can I secure specific collections? How do I block access to my collections but not cut ...
-2
votes
3answers
352 views

Unable to connect using SSH keys

I am trying to connect to my linux server using the following: ssh-keygen -t rsa I then do: cat ~/.ssh/id_rsa.pub | ssh myusername@myserver_ip 'cat >> .ssh/authorized_keys' I then go to my ...
0
votes
1answer
271 views

Creating a Sub-User for Main User | Linux | Permissions

I am trying to find out how to create ssh users that can work inside my sites directories but not have complete access except for the folders I specify. The only issue is that I need the sub-users ...
0
votes
1answer
183 views

ssh connectivity issue [closed]

I have a CentOS 5.5 server hosted in a remote data center. I usually access this server from a Red Hat Enterprise Linux 5 server using the ssh command. Now my organization has implemented a proxy ...
1
vote
3answers
240 views

root login via SSH still enabled after setting PermitRootLogin to 'no'

I'm trying to remove root access and password authentication over SSH to a RHEL server so that all users must access it using keys. So far the key access is set up and working, but I am unable to turn ...
1
vote
3answers
282 views

Limiting SSH root logins to only “safe” networks in OpenSSH 4.x

We want to limit root SSH login to only a few networks that we consider "safe" (VPN, etc.) without imposing the same condition on other accounts. In OpenSSH 5.x, we could use the match block. ...
0
votes
2answers
3k views

How do I enable the SFTP Subsystem in Redhat 5.2 Enterprise Linux?

SSHD works fine but how do I enable the SFTP Subsystem in Redhat 5.2 Enterprise Linux? It seems to have a older version of SSHD that doesn't support some of the usual directives like Match or ...
3
votes
3answers
1k views

Create a full backup of a redhat enterprise server

I need to create a full backup of a redhat server over a network. I have looked into a couple solutions such as dump and snapshot but neither seem like they would just give me a complete image of the ...
2
votes
1answer
328 views

Why does ssh-agent have SGID set?

In the openssh Red Hat package, I noticed that the ssh-agent executable has the SGID permission set: $ ls -l /usr/bin/ssh-agent -rwxr-sr-x 1 root nobody 113648 Nov 24 2010 /usr/bin/ssh-agent Why ...
4
votes
1answer
6k views

How do you create an ssh key for the apache user on Redhat?

As the question asks, how do I generate an ssh key for the user apache on Redhat? My use case, is that we have a mercurial server running under the apache user. We also have several web servers ...
0
votes
1answer
320 views

Deny ssh access to user but allow keyless ssh on some servers

Redhat 4/5: Ok so here's the deal. I need to lock down my servers and only allow users to log in via their ldap account. There's an application account that everyone uses, but I would rather have ...
0
votes
1answer
44 views

Why I still need to entry the pass after I hava added my key to the server?

I add my key to the server(authorized_keys), but i still need to entry the pass each time, and there is no known_hosts files. i do not know why , who can help me ? thanks!
0
votes
3answers
843 views

Hang and broken pipe when rebooting over ssh

I'm trying to reboot one box from another, using the following command: ssh 10.0.0.26 'reboot --force' I expect this to block for a short while until the other box reboots, then return. What I see ...
0
votes
1answer
107 views

Where do I update sshd to read from another config file for second instance of ssh?

I followed the following steps in order to get a second instance of sshd running on my server: http://fixunix.com/ssh/364505-running-multiple-sshd-instances-one-server.html The only problem is, I'm ...
1
vote
1answer
3k views

Why can't I log in to a linux server with network error: Connection timed out

Hey guys, I am having a problem with connecting to a red hat enterprise linux server through ssh, the following error appears: "Network error: Connection timed out" The server is located on a VLAN ...
0
votes
3answers
310 views

ssh getting disrupted intermittently

I have Red Hat Linux Enterprise Edition 5 on my box. Recently, I started experiencing issues with sshd not keeping connection and randomly disconnecting with my clients. Ping works perfectly fine but ...
1
vote
1answer
100 views

Unable to add an iptables RULE

Please help guyz, I am not able to add iptables rule.. On the computer on which I have to login, Shoreline is installed.I know I can add rule to /etc/shoreline/rules but I decided to manually enter ...
1
vote
2answers
548 views

Multiple Users use Script to Access Remote Server via Passwordless SSH

I am currently setting up a linux box that is tied into Active Directory. This box will allow users to SSH into it with their AD username and password to gather information (Box A). The issue is I ...
1
vote
3answers
755 views

need to delete files owned by apache - unsure how to do that

Running apache on rhel server and sometimes I need to delete some files that I can not using my FTP program, because the FTP account I am logged into is not the apache user. I am on a Mac and there ...
1
vote
4answers
564 views

Enabling publickey authentication for server's sshd

I have two servers running RHEL 5. Both have nearly identical configurations. I have set up RSA Publickey authetication on both, and one works but the other does not: [my_user@client] $ ssh ...
2
votes
2answers
368 views

OpenSSH multiplexed connection unexpectedly closed

I have following configuration in .ssh config: Host * GSSAPIAuthentication no Compression yes ForwardAgent yes ForwardX11 no Protocol 2 ...
10
votes
1answer
10k views

What the heck is gssapi-with-mic?

Debugging a Nagios warning on ssh, I've discovered that gssapi-with-mic is causing long lags in authentication. I've turned it off, but what exactly am I missing? I gather that GSSAPI is a tool for ...
1
vote
1answer
3k views

Cause of flapping UNKNOWN Nagios status?

We run some Nagios service checks via OpsView, and one of our hosts is getting a strange response for SSH: "UNKNOWN: Service results are stale" It happens regularly, but seems to go away as the ...
60
votes
15answers
9k views

Hundreds of failed ssh logins

Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be ...