Plesk 12.x / Linux :: Chrooted SFTP Not Working
Jun 17, 2015
Since the migration from Plesk 11.5 to Plesk 12.0 the "chrooted" SFTP accounts do not work anymore. Along with the Plesk migration we have changed the operating system too. We've migrated from CentOS 6 (x86_64) to CentOS 7 (x86_64).
When trying to connect using SFTP on the command line I get the following error message: debug1: Exit status 127...When using an SFTP client such as WinSCP I get logged out immediately without any message.
The OpenSSH configuration is saying:
<...>
Subsystem sftp /usr/libexec/openssh/sftp-server
<...>
The mentioned binary from above does exist:
ls -l /usr/libexec/openssh/sftp-server
-rwxr-xr-x 1 root root 83984 2015-05-12 21:41:56 /usr/libexec/openssh/sftp-server
I have attached the debug output of the SFTP command (plesk_sftp_issue.txt).When I change the option "Access to the server over SSH" to "/bin/bash" the SFTP access works again. But when "chrooted" it stops working.
Plesk 12 under CentOS 7?
View 1 Replies
ADVERTISEMENT
Apr 30, 2015
I am experiencing a weird issue after a Plesk upgrade (from 11 to 12, installed on Ubuntu 12.04).
FTP/SFTP is not working for all users in one specific domain. When using the latest Filezilla client, I receive the following error when I try to connect in SFTP with the main user of this domain
Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to serverClick to expand...
View 2 Replies
View Related
Sep 24, 2014
I am trying to add new programs to the CHROOTED environment via this post: URL....I downloaded the following file URL...., but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working.update the file or attach a new copy to this message?
: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then
View 1 Replies
View Related
Mar 4, 2015
I'm Running Plesk 12 latest version. I've been partially followed that instructions to add php5 to a chrooted environment with success : [URL] .....
Code:
bash-4.3$ php --version
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
This is how i did it, as root user :
Code:
./chroot_update.sh --add /usr/lib/php5
mkdir /var/www/vhosts/chroot/usr/share
cp -a /usr/share/zoneinfo /var/www/vhosts/chroot/usr/share
php -i | grep extension_dir
# returns : /usr/lib/php5/20121212/
[Code] .....
View 2 Replies
View Related
Oct 21, 2014
FTP is a very old transfer technology with a lot of security problem.
Why don't enable directly SSH or SFTP on Plesk by default or by a simple way?
It's very difficult to enable it now
I'm loosing a lot of time to find how to enable it on plesk 12 and still not undestanding why do not work.
View 3 Replies
View Related
Nov 2, 2014
I use Plesk 11.5.30 on my vServer. I created a new domain with a new web user and /bin/bash (chroot) setting. I can't login with a SFTP connection to this domain only normal FTP connection works. With existing users I don't have this problem.
View 1 Replies
View Related
Feb 16, 2015
My reseller have got one plan, where option "Gestion de l'accès au serveur via SSH" (Manage SSH access to server) is on "Peut autoriser l'accès uniquement à un environnement chrooté" (Can autorize access only in chrooted environment).
This plan contains only one subscription in which I would like to permit users to use sftp. If I go in the subscription, and then I click on "Customize subscription", I can see option "Gestion de l'accès au serveur via SSH" (Manage SSH access to server) is on "Peut autoriser l'accès uniquement à un environnement chrooté" (Can autorize access only in chrooted environment)...
=> So same than in the plan.
After that, when I click on subscription => WebSites and Domain => One domain => FTP Access and I choose a ftp user, I don't have any option to allow ssh access to the user.
View 4 Replies
View Related
Jul 28, 2009
i am not able to get connect to SFTP server
domain : testing.com
user : test@testing.com
pass : 123456
port : 7256
& getting following error
#####################
Status: Connecting to testing.com:7256...
Response: fzSftp started
Command: open "test@testing.com@testing.com" 7256
Command: Trust new Hostkey: Yes
Command: Pass: ************
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server
#####################
note that we are able to get connected to the server with FTP using same username & password
i asked our data centre regarding this issue & they suggested to use root password , but we don't want to give root password to the client
View 13 Replies
View Related
May 25, 2015
After installing a separate SSL to domain.com and www.domain.com, for some reason host.domain.com, which is the subdomain for plesk login, isn't being secured by FTP when choosing "Secure Plesk" after choosing the correct SSL. No error occurs, nor does the dashboard respond to it. It stays the same and unsecured. I tried rebooting server, restart services, etc.
View 1 Replies
View Related
Dec 28, 2014
OS: CentOS 6.6
Plesk: 11.5.30 #48
ProFTPd: 1.3.4c
I am unable to connect over TLS/SSL using my FTP client. I have ports 989 & 990 enabled in my server's firewall. My FTP client is attempting connection on port 990, but times out waiting for the server to respond. I also tried adding "TLSProtocol TLSv1" or "TLSProtocol SSLv3" to /etc/proftpd.conf, but get the same result, except that a non-TLS/SSL connection attempt then returns "server closed the connection".
View 2 Replies
View Related
Aug 25, 2014
Recently I configured parallels 12.x on Linode Cloud with cent OS. Using DNS Settings I added 'A' record (abc.example.com) as abc and point to IP. But the record is not propagated after 24-48hrs.
View 2 Replies
View Related
Aug 23, 2014
Configuration:
Config server / Preferred domain for web sites / domain.tld
Config hosting to domain / Preferred domain / domain.tld
Problem: I've created a primary domain.tld and work without problems I type www.domain.tld and work fine redirect to domain.tld format but I've created different alias and only work www.domain.tld format don't work domain.tld format.
In google webmastertools i see this error in domain.ltd panel
Redirect
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 22 Aug 2014 18:09:28 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Location: http://www.domain.tld/
X-Powered-By: PleskLin
MS-Author-Via: DAV
Vary: User-Agent
How can solve to Alias work with domain.tld format?
View 1 Replies
View Related
Jul 9, 2015
I have a weird problem happening to only few of my domains. From web browser, any of URL below is working fine:
webmail.domain.com
ftp.domain.com (it will open up a new window asking for login info)
domain.com:8443 (it will redirect to control panel login page)
However, URL below not working:
www.domain.com
domain.com
I have checked the DNS entries, all looks alright. I even initiate DNS test from dnsgoodies.com and it return fine.
View 1 Replies
View Related
Jan 6, 2015
I have two servers with the exact same configuration, besides from the version of CentOS that they were running when I deployed Plesk using the autoinstall script. My first server was running CentOS 6.5 during Plesk installation. My second server was running CentOS 6.6. No 3rd part repos were installed before Plesk.
On the first server everything is fine, but on the second server I have issues with FTP. I have tried applying this fix: [URL] ....
Before applying the fix I got 530 Login incorrect when trying to connect to FTP. After applying the fix and restarting the entire server I got 550 /: permission denied
View 2 Replies
View Related
Dec 18, 2014
I running magento on plesk 12 and trying to configure nginx, but only home page is working and all other pages are not working with error 404.
View 6 Replies
View Related
Aug 31, 2014
I have an Issue with API.
I have mine Custom billing Panel Today my Developer start code API for it by Docs that Parallels given but we got stuck on Subscription...
if we set login name and password
API shows this error
While creating subscription
Error 2204 Unable to update hosting preferences. Unable to check system user existence: login name is empty
It happens only while creating the subscription...
Creating of user is working fine only subscription don't want work and we don't know why we tried many things and none of it works.
View 4 Replies
View Related
Nov 4, 2014
I have set up a CentoS 6 & Plesk 12.0.18 server as master and a reseller. I enabled the shared IP under IP address in the tools section.
I then added a customer and domain. then I added reseller with domain and 2 customers with domain under that. I changed the nameservers at registrar to the IP of the new server. When I use the control panel and under each domain I use the PREVIEW and each domain shows the index.html file I uploaded. When I choose OPEN it opens a new window to the domains address and I get webpage not found. And yes it has been almost 36 hours since the registrar change in case you are wondering.
Is there a setting I am missing or is the server set up wrong? Why wont it show the webpages as it does in the previews?
View 7 Replies
View Related
Aug 20, 2014
We just upgraded from Plesk 10.4.4 to 11.5.30 and can't seem to get FTPS to work.
I presume it should be running on port 990, but the server is not listening on that port (only 21 for FTP).
Code:
netstat -lptu | egrep 'ftp|990'
tcp 0 0 *:ftp *:* LISTEN 20354/xinetd
We've enabled FTPS on the Server > Security Policy page.
View 7 Replies
View Related
May 29, 2014
I have a VPS on Webfusion which auto upgraded last night to Plesk 11.5.30 #45. However, I used to have the domain registrar, 123-reg manage my DNS & now since the upgrade I've lost access to all emails & ftp access but the domains still work ok.
whether I should delete all DNS records at 123-reg & point to my VPS now? The DNS parameters in Plesk appear to be different to 123-reg. I
View 3 Replies
View Related
Aug 14, 2014
Since moving to version 12 on the remote FTP backup is not working.
This makes the tar of 50K ~
We have chosen "Setting and content domain" ...
View 2 Replies
View Related
Aug 3, 2013
Yesterday we upgraded V.11 to V.11.5.30. And now we are not able to restore our backups anymore from our main server on our failover server by CLI (we have automated this with cronjobs and need the CLI backup/restore). We have a failover sulotion with two servers and restore the backups of our main server on our failover server!
If we try to create the map file on our failover server, we get the error:
The dump specification '/home/backups/plesk_partnerserver/dumps/backup_info_1308030132.xml' should be inside of dump directory '/home/backups/plesk/dumps'.
/home/backups/plesk_partnerserver/dumps is the path on our failoverserver where we store the backups of our main server and /home/backups/plesk/dumps ist the regular dump path of the failover server.
And if we try to restore the file without creating a map file on our failover server with /usr/local/psa/bin/pleskrestore --restore backup_info_1308030132.xml -level server: Unable to resolve all conflicts
What happend? Now after upgrading to 11.5 our backup- and failover-solutions are in big trouble!
Our OS is Debian Squeeze
PP is 11.5.30
View 6 Replies
View Related
Nov 5, 2014
I am running Plesk 12 on CentOS 7 64bit. I have set up the server backup instead of the website backup as I assume that will backup all server settings, as well as the website? I am running Plesk Web Admin Edition.
I have the backup set to run and dump into Personal FTP, but it does not run. If I run the backup manually, everything works great, but the scheduled backups don't work.
View 3 Replies
View Related
Feb 4, 2015
I have created a scheduled task as per my application guide as in the attached file. When i recieve the email it says the following:
: /var/www/vhosts/testdomain.co.uk/clients/admin/cron.php: No such file or directory
i have also tried appending:
php -q
wget -O (using the http to the location to cron.php)
Nothing seems to work.
I have transfered from cpanel and this is my first scheduled task and not getting anywhere with very little information on how to do this.
Im running:
Plesk 12
Linux
View 1 Replies
View Related
Mar 10, 2015
For some reason non-exisiting/delete FTP accounts still have access to the server. When I tried to delete the account, it gave an error stating that a process is using it, however, it was not being used at the time. From there, the ftp account was removed from the list, but for some reason it can still log in as if it exists.
View 4 Replies
View Related
Aug 23, 2014
When I modify rules using the firewall panel it is not generating rules correctly when selecting allow from selected sources deny from others.
View 2 Replies
View Related
Jun 15, 2015
It seems that SA is not using bayes on the incoming messages. How to get bayes to work?
I have trained with plenty of ham and spam. Where are the db files for global bayes located?
View 5 Replies
View Related
May 13, 2014
OS: CentOS 6.5 (Final)
Panel version: 11.0.9
I can receive email and check them via Horde but i'm unable to get them forwarded to my gmail account.Is there anything i can check/do ?I'm an ex-cpanel user.
View 4 Replies
View Related
Sep 9, 2014
I have a server which I am using for multiple clients. Some with SSL enabled, some without. I have added custom ngingx conf files for nginxDomainVirtualHost.php and nginxWebmailPartial.php in /usr/local/psa/admin/conf/templates/custom and modified the following lines to try and harden security:
Code:
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS";
ssl_prefer_server_ciphers on;
After reconfiguring using
Code:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
I check in /etc/nginx/plesk.conf.d/vhosts/<domain>.conf and the changes are shown correctly there but browsers and online tools such as [URL] .... still say that the sites are using 128 bit encryption and TLS 1.0.
The Plesk admin panel itself displays 256 bit encryption and TLS 1.2.
View 3 Replies
View Related
Aug 18, 2014
I installed PLESK12 (or better: I installed the distributed Debian-Image from my hoster) onto my server. Everything works fine as always - except webmail. I did the following:
- in the general webmail properties, I deactivated Horde. roundcube was active and still is (also tried to activate it again)
- I also activated roundcube as webmailer in the hosting itsel.
- tried to open webmail.mydomain.com --> site not found. I added a mail-adress and tried to use the icon to the webmail --> site not found.
- I restarted the server (maybe deactivation Horde did some stuff there...)... no changes.
PLESK 12 (latest update), running on Debian 7.6 ....
View 1 Replies
View Related
Jul 2, 2014
I just did the update to 12.0.18 #6 and everything seemed to go pretty well. One feature we were really interested in was the Outgoing Spam Filter. Unfortunately, the error I see when I go to that feature reads, "Protection : Not active. There are some problems that prevent the service from being started."
When I Google that error, I'm brought to some KB articles but they are all for the older Outgoing Spam Filter that you need a license key for. I don't believe that is the case any more - if it is, I don't know where to get the key. I will say point out I'm a bit of a Linux novice (we are running CentOS 6.5 on this server), so I'm not really sure where to look....
View 4 Replies
View Related
Jul 6, 2012
I have the same problem again with plesk 11 [URL]
workaround
1) rpm -q --scripts psa-backup-manager | sed 1d | sh
2) /etc/init.d/crond restart
my error message with CentOS 5.8, Plesk 11.0.9 MU#4
sh: line 2315: syntax error near unexpected token `('
sh: line 2315: `preuninstall scriptlet (using /bin/sh):'
/etc/cron.d/plesk-backup-manager is created
why do not work after you upgrade the backup cronjobs?
View 19 Replies
View Related