0
votes
1answer
5 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
38 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
55 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
22 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
0answers
99 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
64 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
25 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
20 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
1answer
384 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 ...
0
votes
0answers
87 views

Server is refusing putty key - absolutely cannot figure it out

So I'm using putty on a Windows 8.1 machine, Pageant to keep track of keys, logging into a remote CentOS machine. I generated a 2048 bit RSA key using PuttyGen, and copied the text from the Public ...
0
votes
1answer
641 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
70 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
140 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
77 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
1k 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
38 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
35 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
83 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
125 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
165 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
93 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
259 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
449 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
905 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
204 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
110 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
458 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
198 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
300 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 ...
0
votes
0answers
21 views

how to assign user's web session to a dedicated container on OpenVZ

I currently have OpenVZ installed on CentOS 6.3 with few containers created.The host is on a LAN and has the ip 192.168.2.152.Apache on the host node hosts a simple website.How do I enable user's web ...
3
votes
1answer
271 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
162 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 ...
0
votes
2answers
573 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
208 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
118 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
923 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
693 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
915 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
26k 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 ...
1
vote
3answers
3k 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 ...
0
votes
1answer
349 views

How do you set up a VirtualBox CentOS 6.3 VM . . . in order to access it via SSH from a remote host (not host to guest)?

What should I do? I installed VirtualBox 4.2.6 I installed CentOS 6.3 It's powered on # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
0
votes
2answers
269 views

Issues connecting VMWare VM to Windows 7 (host)

I am on windows 7 trying to figure out why i cannot ping my computer or my VM from the other one, yet I am able to ping the router on both and other computers on the network. My desktop is running ...
0
votes
1answer
48 views

Looking at current desktop through ssh

Is there any way for me to look at the current running desktop through ssh? Meaning, if I ssh from machine A to machine B, I get terminal access in machine B. And if I run ssh -X from A to B, I can ...
1
vote
2answers
2k views

Fast way to check disk usage in linux?

I want to find out the disk usage of /home however it's too slow, I get timeout sometimes (SSH) because it has lots of files. I am using du -sh /home and I was wondering if there's a faster way?
0
votes
2answers
1k views

Virtualbox SSH from Windows 7 (host) to CentOS (guest)

My network adapter is set to "Bridged Adapter". My CentOS (guest) IP is 192.168.0.4 and I am able to view Apache web server (port 80) from Windows 7 (host) but I am unable to SSH (port 22). I get ...
2
votes
3answers
1k views

ssh refuses to authenticate keys

So I am setting up a connection between my machine [fedora 17] and a virtual machine running in Virtual Box in which is running CentOS 5. I have installed openssh from the repositories on CentOS, and ...
2
votes
0answers
730 views

Why is ssh login occasionally failing?

I'm using ssh to execute commands on another host and have noticed that occasionally the connection is closed before it ever connects. Both hosts are CentOS release 6.3 running OpenSSH_5.3p1, OpenSSL ...
2
votes
1answer
98 views

Limit a user to VI and Tail

I'm running a server on centos 6.0 and I'm looking for a way to limit ssh access of one user to only tail and vi and only in their home folder. I found some guidelines to the home folder part but ...