0
votes
2answers
22 views

CentOS send a command to another server with ssh

So basicly I need to send a command from one server to another. ssh root@address.com 'My command' But.. How do I specify the password? Thanks
0
votes
0answers
16 views

Am I using this command correctly? Can't understand why I get the error I am getting. Myqsl - Centos 6

So, I am trying to connect to a database through mysql ssh, but whenever I run the command Connect postfix@127.0.0.1 on postfix It returns with: ERROR 2005 (HY000): Unknown MySQL server host 'on' ...
0
votes
0answers
7 views

How to see the size of files on apache server?

On a VPS apache CENTOS 6.5 x86_64 virtuozzo – server Server space is disappearing on accounts that are untouched, or should be. I suspect hackers are uploading to the accounts in question. Space is ...
1
vote
1answer
23 views

PECL SSH2 Installation issue

I am running this command: sudo pecl install ssh2 It resulting the following log and exit with an error: libssh2 prefix? [autodetect] : building in /var/tmp/pear-build-rootHyRX5L/ssh2-0.12 ...
0
votes
0answers
16 views

multiuser centOS server with restricted access

I need to configure centOS server for multiple users. Every user must be restricted to homedir, have ssh access and be able to copy/move files. So i found a multiple solutions for this task: chroot ...
0
votes
0answers
141 views

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my ...
0
votes
0answers
7 views

Building rtmpdump on RHEL x86 without yum and no root rights

I have an ssh connection to a RHEL x86 machine, and I can't use yum and I don't have root rights. Is there a way to install rtmpdump anyhow? By looking at this tutorial, it seems that installing ...
0
votes
1answer
108 views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
1
vote
1answer
74 views

Tunnel over SSH

I have a VPS server running CentOS 6.5 and a also client running CentOS 6.5 I'm trying to make a tunnel connection over SSH protocol. I use -v option to debug, I cant find any problem but i cant ...
1
vote
1answer
34 views

Unable to connect to VPS with SSH, failed authentication

I'm new to this whole VPS thing, and I'm having some problems with SSH. Basically, the password seems to be wrong, but I copied and pasted it from an email I got from the host, so it must be correct. ...
0
votes
1answer
23 views

FTP File display works in filezilla, but lists blank in other apps? (Centos 6/vsftpd/ssh)

So had to basically re install entire server, lost everything, but I am trying to add this one script that has a custom installer that uploads the FTP files directly through its self extracting ...
0
votes
2answers
68 views

Unable to connect with SSH externally

I have a CentOS vm at work where I can SSH to it locally with it's local IP address, but when I am outside the office, I'm unable to SSH using it's external IP address. It is using OpenSSH. I have a ...
0
votes
2answers
107 views

SCP is very slow

I am renting dedicated server in a leaseweb and trying to transfer tar files from leaseweb's server to my HOME NAS, but the problem is - max upload speed i get is 180kb/sec, though when i try to ...
0
votes
2answers
28 views

How to delete Exported folder (SSH)

I have used command: export TMPDIR=$HOME/tmp Now it created /tmp folder in my root directory (root/tmp) How can i delete it?
2
votes
1answer
167 views

“chmod -R 777 /” for a few seconds - now what?

On Centos 6.5 I accidentally typed chmod -R 777 / Ooops. I CTRL + C'ed out of it very quickly, but not before it'd started working away for a couple of seconds. Consequences? Well, already su ...
1
vote
1answer
235 views

sshfs is failing with “remote host has disconnected”

I'm running sshfs with the following: sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys ...
0
votes
0answers
38 views

VSFTP User/Pass not accepted

Hello I'm having a problem connecting to my FTP for a dedicated server that i manage through SSH. My host has installed VSFTP and it was working fine up until today. I have not changed the ...
0
votes
0answers
38 views

Latest kernel update prevents SSH access to VPS?

I have a Digital Ocean VPS running CentOS 6.4 web server. I ran yum update a few weeks ago and ever since I've been unable to SSH into it but my site still worked. I restarted the server through the ...
2
votes
2answers
902 views

“muxserver_listen bind(): No such file or directory” using todo.txt over ssh on Haiku OS

I'm getting this error after entering a password when connecting via ssh from a Terminal window, ever since I followed these directions to reuse ssh connections: "...consider appending the following ...
2
votes
1answer
931 views

SSH Tunnel for restricted user w/ PuTTY and no shell

so I have been using SSH tunnels to restrict access to internal sites or portions of public sites for a while now, and since only admins had SSH access at all I've been using standard non-root/sudo ...
0
votes
0answers
112 views

Unable to log in with correct credentials from different locations into vps

I have a VPS running CentOs 6.4 with CPanel 11.38. At the moment my 2 clients can't log in to the mailserver from their location. I have done it myself and the credentials are correct. I can log in ...
0
votes
0answers
162 views

Can't access phpmyadmin even though IP is white listed? CentOs 6

So sort of out of the blue, I can no longer access phpMyAdmin, it returns the 403 error in which people who are not white listed should get. I checked my conf files for the IP's to ensure it was not ...
0
votes
1answer
98 views

Disabled root login and no root users.. What to do? CentOs 6

So I was undoing some changes here on CentOs 6, and I ended up removing all users who had root access, accept for the root user. But then I realized the root login is disabled, and I just disabled ...
0
votes
1answer
38 views

Key-based authentication such that they have access only to /home folder

I have a Linux CentOO web server in which I have multiple web sites. I have 5 website programmers now doing the coding for all the sites. How can I provide a key-based authentication for the ...
0
votes
1answer
2k views

Virtual Machine with Bridged Adapter to Centos not accepting ssh from host machine

I have a bridged connection on VirtualBox from os/x 10.8.5 host to Centos 5.8 client. But I suspect this is more of a general issue than specific to the host and precise version of linux. Shown ...
1
vote
1answer
40 views

How to fix.. my watch --interval=60 isn't working properly

Here is the code I use in my CentOS 5 32bit. But after this I see only some of files are zipped and a lot of them isn't included in produced gzip file. nohup watch --interval=60 tar -zcvf ...
0
votes
1answer
39 views

Is it bad practice to store obsolete authorized_keys as user/group nobody?

I'm using Chef to manage users on a cluster of servers. When a user is removed I'm keeping their authorized_keys file and changing the file's user/group to "nobody" after deleting the relevant user ...
0
votes
1answer
97 views

Copy files from path to path same structure for each user

How to copy single file for example index.html from source /backup/cpbackup/daily/a1/homedir/public_html/index.html /backup/cpbackup/daily/b2/homedir/public_html/index.html ...
4
votes
3answers
157 views

Passwordless SSH not working from terminal when logged it from remote SSH

We have set up a CentOS 6.4 box with passwordless SSH to multiple other systems. This works fine when using a terminal as the correct user directly on the CentOS computer. However, if I log into the ...
2
votes
2answers
245 views

SSH Using Wrong ID

I am trying to establish password-less ssh to myself on a CentOS6 system. I go through the following steps: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ...
0
votes
0answers
102 views

chroot sftp home directory as well as access one level above

CentOS 6, latest openSSH, using latest scponly as shell (also have rssh, but that doesn't want to work either) All chroot'ing functionality done via sshd_conf Everything works as expected except one ...
0
votes
1answer
379 views

Ubuntu - Clone Terminal Window with SSH Connection

I've used some windows SSH programs, which allow me to spawn new windows based on my current SSH connection. Is there an easy way to "clone" my terminal window that is connected to a different ...
1
vote
2answers
582 views

Delete duplicate files with rsync

Here is the thing , I have a folder on my server with 50 GB size and its' containing over 60000 file. I used rsync to transfer it to a mirror server and almost half of file has been transferred.Now i ...
2
votes
1answer
1k views

How to setup password-less ssh between two vagrant machines?

I have set up a enviroment of two machines in vagrant where I used the following CentOS image: http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box Lets call the two ...
1
vote
1answer
296 views

How to set up git repo on my subdomain?

I have a centOS VPS and I have install git. However, I want to set up a git repo on a subdomain on one of the domains hosted on my vps in order so I can push there for testing. How do I do this?
0
votes
1answer
117 views

CentOS and OpenSSH

I've recently installed CentOS 6 on an old Dell PC. I'm trying to setup OpenSSH at the moment, I been following some tutorials (http://www.youtube.com/watch?v=QKafb0koJEg) on You Tube, while they have ...
0
votes
2answers
583 views

Why is SSH permission denied unless sshd is in debug mode

I have problems ssh to my own box (both remotely or locally) with the message Permission denied, please try again. Then I stop the sshd service with /etc/init.d/sshd stop and start sshd in ...
1
vote
2answers
226 views

Passwordless SSH (Windows --> CentOS)

I am trying to get passwordless SSH authentication to work from a Windows 7 machine to local server. Windows machine: My login name in this machine is MY_LOGIN_NAME. I am using Cygwin as the ...
0
votes
2answers
449 views

Sending files to CentOS machine via ssh

I'm using ssh and connecting to a linux machine for the first time from my Windows 7 machine and right now I'm using putty to access a CentOS machine via ssh. I need to transfer some big files to the ...
3
votes
1answer
321 views

SSH: “no such identity”

I'm having a very peculiar problem getting SSH to work on my Linux box. I have a passwordless git user identified by an OpenSSH key. If I attempt to ssh into it from either the same or a different ...
1
vote
1answer
186 views

PHP Exec function reports failure on some commands that work by SSH

I'm on CentOS 6 64bit with PHP 5.4.12. This is very strange behavior by PHP. See the following script: echo 'Trying Query: whereis jbig2dec<br>'; exec('whereis jbig2dec',$output) or ...
1
vote
2answers
773 views

How to download all files and folders using FTP via SSH? [duplicate]

I tried mget * but it only downloads files not folders. Is there a "download all" option?
0
votes
2answers
273 views

Can CentOS deny SSH access to everyone but my IP?

I was wondering how I could deny all SSH logins from any IP but mine? This would be using IPTables.
0
votes
2answers
127 views

How to SSH multiple service with a for in SHELL?

I would like to access some server via SSH, run some commands and exit. Do this for lots of servers. I know I can do this for one machine only, with this script : ssh **IP** << EOF chown -R ...
1
vote
1answer
1k views

Installing PHP 5.4 on CentOS 6

I want to update my CentOS 6 PHP version from 5.3 to 5.4 so I tried this guide: http://www.webtatic.com/packages/php54/ But after running yum install php54w I get this: Setting up Install Process No ...
0
votes
1answer
833 views

CentOS 6 sshd: Logging in works, but still claims “access denied”

I have just installed a plain CentOS 6.3 system. I enabled sshd, and try to connect with Putty. This works, but here is what I get: login as: user Access denied user@192.168.1.7's password: Last ...
0
votes
0answers
1k views

Disable reverse DNS lookup in SSH Client

I was trying to avoid the reverse dns lookup by the ssh client. But I can not use the UseDNS option since it requires file modification to /etc/ssh/sshd_config which I'm not privileged to do. Tried ...
2
votes
2answers
36k views

SSH Permission denied on Correct Password Authentication

I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here ...
2
votes
3answers
4k views

SSH public keys not working

I've spent a few hours trying to solve this, but have gotten nowhere. The server is running CentOS 6 and using OpenSSH. The client is running OpenSSH too. I created a public key on the client (my ...
1
vote
4answers
2k views

“Wrapper” ssh script freezes when executing remote command

I am running OSX Mountain Lion and the remote server is CentOS 6. I have several scripts on my local machine that I want to run on the remote server and to that end, I thought to write one script that ...