2
votes
2answers
39 views

Does /var/log/secure log successes?

Short one that I've been unable to find a decent answer for. Centos 5.10 server, trying to trawl through all the logs I can to see what IPs successfully accessed the server. I've been mucking about ...
1
vote
1answer
45 views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
0
votes
1answer
47 views

passwordless ssh is not working in CentOS 6.4?

I am setting up passwordless login from this link but I can't get it to work. When I do ssh localhost it always asks for a password. I have also referred to this question: ssh password less ...
1
vote
1answer
28 views

Acting on a different display when using SSH [duplicate]

I am connecting to a Linux CentOS 2.6 computer via SSH wit the display deported on my screen (using MobaXterm). It is also possible to access to this computer "physically". However, I would like a ...
1
vote
2answers
45 views

Can't access ssh in my VM Centos

My Cento's IP is diferent of the normal. And I cant access it in a ssh command And when I tried access using ssh noting I want to use ssh and samba client, but my IP is diferent. And I have ...
0
votes
0answers
27 views

How to add Public IP to Cent OS

I am trying to configure a Public(Static) IP in Cent OS 6.4. For this, I made a copy of eth0(added local IP, so that I can connect the system to Internet) and named it to eth0:0(added Public IP, so ...
-1
votes
1answer
43 views

I cannot use yum command and ssh after mount drive.(CentOS)

As the title above, I cannot use yum command after I mount like below. mount /dev/xvdb3 /usr Filesystem Size Used Avail Use% Mounted on /dev/xvda ...
2
votes
5answers
80 views

Can I use KdirStat over SSH?

I have a headless server running Centos 5.9. I can only SSH into it, is it possible to use KdirStat or a similar tool to get a graphical view of disk usage?
1
vote
1answer
75 views

What linux server settings allow my long running processes to keep running after the terminal is closed/terminated?

In previous jobs and experiences, I used screen or nohup to run my long running jobs from my terminal screen. Most, if not all of my previous jobs' servers dropped you if it didn't detect any ...
2
votes
1answer
259 views

Locked out of server with SSH - anything I can do?

I accidentally locked myself out of my server. I changed the port, added ssh-keys, PermitRootLogin is 'no' and if I remember correctly PasswordAuthentication is also no. Logging in on another server ...
0
votes
2answers
103 views

How to Find the Cause of Too Many Dropped SSH Connections?

Overview: I have a home setup, behind a home router, on which there is Proxmox Hypervisor running over 10 VMs. One of those VMs is the first point of entry after router. It is just a jump host Centos ...
1
vote
0answers
140 views

Can't Install ImageMagick on Centos using Yum

I am trying to install ImageMagick on my dedicated-virtual Centos server for use with PHP. I first ran the following commands successfully: # yum install gcc php-devel php-pear # yum install ...
1
vote
1answer
26 views

Using passwordless ssh on CentOS 6

I have a fresh install of CentOS 6 that I am trying to connect to using ssh without a password. But each time I try to login, I am asked for the password. Here are the commands in order: ssh-keygen ...
0
votes
1answer
114 views

SSH accesss between CentOS and Vmware installed Ubuntu

I am here to request the Linux lads about using the SSH type remote access between my CentOS (Host) and VMWare installed Ubuntu. I am not new to Linux but I am completely new with practical ...
3
votes
1answer
446 views

Granting access to a restricted git shell

I tried setting up git-shell on our CentOS (6.4) system (after getting this working correctly on Ubuntu 13.10, maybe cross platform hot mess?) my /etc/passwd shows git:x:500:500:Web Archive ...
1
vote
2answers
236 views

SSH will not make a local connection without password prompt

While trying to set up a loop back ssh I am getting prompted for a password after a pub key install, this is a CentOS 6.4 server. ssh_config (grep -v ^# /etc/ssh/sshd_config | grep -v ^$) is here: ...
1
vote
2answers
80 views

Restarting network service for a local VM via SSH

During the course of practicing switching my local VM from static IP to DHCP and vice versa via system-config-network, I decided I didn't like having to access the VM's console through virt-manager ...
3
votes
1answer
89 views

Intermittent ssh denial

The main server in my network (nothing less...) plays tricks with its ssh connectivity. It is a CentOS 6.4/64 (runs as KVM-based virtualization host with a dozen VMs on it). It receives its IP via ...
0
votes
2answers
396 views

SSH connection establishment too slow [duplicate]

I'm having issues while connecting to my Local Centos 6.3 VM with 500 MB ram. Below is the output of ssh -vvv localhost connection: OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
0
votes
0answers
60 views

CTRL meta key 'sticky' in GUIs over X11 forwarding from CentOS to fedora

Despite numerous problems, I managed to get X11 forwarding working from a SSH server running on a CentOS host to a Fedora client (changing various settings and finally fixing it by installing a ...
1
vote
1answer
466 views

ssh-agent: How to set it up so my CentOS server will only ask for passphrase once?

On my Macbook, my SSH private key is encrypted, but I never have to re-enter the passphrase even if I reboot the machine. The system must be unlocking it along with my user account. Is it possible ...
0
votes
1answer
258 views

Connecting to KVM on a GUI-less CentOS 6.4 using MobaXterm

I followed the directions at this question: Installing KVM on CentOS 6.4 without GUI (yet) But I'm not sure which feature (there are many!) of MobaXterm I should use to connect to the KVM. On the ...
1
vote
0answers
656 views

putty connection works but ssh command line refuses password authentication

I'm struggling quite a lot around ssh tunnels today. First, here is my configuration: My local machine, a PC with windows XP (ip=l.l.l.l) My remote server, with a CentOs 5 installed (ip=x.x.x.x) ...
5
votes
7answers
298 views

Are there additional ways to protect SSH connections besides firewall and RSA Keys?

Sometimes I don't have a static IP and need to administrate my web server remotely. I'm looking for any additional layers of protection I could add to make opening port 22 safer. Currently I have ...
1
vote
1answer
1k views

iptables prevents connection via ssh after port change despite ACCEPT rule

I have two machines hooked up to a router, one Windows with PuTTY, and one CentOS 6.4 with sshd and with the default SELinux still enabled. They can both ping each other successfully. I installed ...
-1
votes
1answer
231 views

SSH screen (CentOS) crashes

I use the screen command to run a Minecraft server on my CentOS 6.4 machine. However, once I end the SSH session, the Minecraft server and the screen will eventually simply stop such that when I come ...
0
votes
0answers
53 views

PBX randomly loses network connectivity and restores itself

I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
0
votes
1answer
354 views

non root ssh keys help

I'm having issues setting up a different CentOS account with its own pair of SSH keys. I have created the required files but when connecting with Putty it says Connection refused, here's the putty ...
0
votes
1answer
143 views

emacs fonts from ssh not as good as locally installed

How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system? EDIT: I didn't get an ...
2
votes
2answers
395 views

Use desktop speakers over SSH from laptop

I have VLC media player and media files on a desktop CentOS 6.3 set up (without a GUI). I can play the media files at the machine but when I issue the command via SSH it is silent. I'm guessing it's ...
0
votes
2answers
1k views

SSH connection refused

I have a CentOS Linux server with a SSH connection. It works perfectly but from time to time, the server refuses the connection. If I reboot the server, I can SSH again. What could be wrong?
2
votes
1answer
131 views

is it secure /not dangerous to ssh with keys through public transparent proxy?

I use pub key for ssh. Is it normal practice to connect to own server through public proxy? I think with plain pass it is surely dangerous but how about RSA keys?
0
votes
2answers
120 views

public key authentification doesn't pass, why?

I'm trying to connect to Server with ssh and id_rsa key. That key is only key in authorized_keys (just added with ssh-copy-id) When i do connect, server ask doesnt end with keys but always ask for ...
2
votes
2answers
3k views

Linux CentOS 5 SSH User Permission Denied

Today when I try to SSH into my server, I get a permission denied message (same for sftp). It used to work well before, I didn't change any server settings, except I was trying to modify a few folders ...
3
votes
1answer
2k views

Start network service at boot time on CentOS

I've recently reinstalled CentOS onto a computer of mine. I have OpenSSH Server on it now, as did I before I reinstalled the operating system. Here's the difference: Before, SSH started without even ...
2
votes
1answer
330 views

Setting up a user for sftp acces into a sub directory of another users home directory

An interesting problem. The broader goal is to setup a directory that one of our clients can sftp into (via ssh keys, not user/pass combination) and upload files. This directory will need to be ...
1
vote
2answers
3k views

Change default path for when I SSH in to CentOS server?

I have a CentOS 5.7 web server, and I want to change the default place I land in when connecting using SSH. Currently I land in /home/username, and I want to land in /home instead. I've gone in as ...
5
votes
4answers
5k views

What are the different ways that a message can be displayed to a bash shell after a user logs in?

I have a CentOS 5.7 VPS using bash as its shell that displays a branded greeting immediately after logging in via SSH. I've been trying to modify it, but can't seem to find where it is in the usual ...
6
votes
2answers
1k views

Enabling system management privileges for non-local users - How the heck does `polkit` work, anyways?

I am managing a CentOS 6.2 server remotely using X over SSH (actually NX, but that's just a proxy). The Everything is working correctly, except when I try to do tasks that would normally require ...
6
votes
2answers
1k views

Giving some users only SSH and shell access with limited resource usage

I'm trying to make a user that can access my server through SSH and allow it to have a shell, limited to using only, say screen and irssi. And it shouldn't it be able to see other directories except ...
2
votes
1answer
291 views

change sftp to ftp

I recently installed a CentOS machine for a couple of game servers. I followed some tutorials on the web for that, because I'm a linux noob. But. I want to sftp to store data on the server but it is ...
1
vote
1answer
1k views

CentOS 5.5 SSH with Key for non ROOT user

I tried pretty much everything I could to make this work. I spent literally 6 hours on research and nothing helps to remove "Server refused our key" error. My username I tried to make is "Testuser" ...
3
votes
1answer
1k views

User logged in by sftp does not show up in `w`

My server is Centos 5. I have a chroot environment set up with the following in my sshd_config Match group sftponly ForceCommand internal-sftp ChrootDirectory %h AllowTcpForwarding no ...
2
votes
1answer
3k views

How to install java on CentOS VPS through ssh

I wrote a little Java servlet and, in order to run it, acquired a VPS which runs Centos 5. Now, in order to run it, I guess the first thing to do is to install the latest JRE. I have ssh access and ...
2
votes
2answers
909 views

How can I make a process I start during an SSH session run after the session has ended? [duplicate]

Possible Duplicate: Keep SSH Sessions running after disconnection. I have a process which is basically a web-server, I start it during an SSH session. However, when I leave the session (by ...
6
votes
4answers
1k views

Why do I need to hit enter to get my shell prompt after my init.d script completes?

I had to write my own CentOS init.d script for celery because it only ships with one for Debian. You can see the script I wrote when I answered my own stack overflow question 3989656. But there's a ...