Tagged Questions
1
vote
2answers
31 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
0answers
32 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
66 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
30 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
114 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
139 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
329 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
179 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
587 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
149 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
45 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
200 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
99 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 ...
0
votes
0answers
86 views
In Centos 6.3- Configuring ssh for a grid server service
I am running a gridserver setup with 5 interconnected machines, I am now adding the 6th.
each has it own ip address on a separate router/switch starting at 192.168.2.100 -192.168.2.106.
The newest ...
2
votes
2answers
274 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
954 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
125 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
101 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
273 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
2k 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 ...
3
votes
3answers
4k 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
857 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
267 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 ...
1
vote
2answers
838 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 ...