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
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.
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...
direct root logon to a server is disabled; using another login, obviously. However, I need to be able to SFTP files from my computer to a directory on the server using said login - yet it does not have correct permissions, evidently, and therefore can't even see the directory I need to be able to SFTP files to.
Tried CHOWNing the directory with that usename, giving it 777 permissions, etc.
to set up a batch file on our server (Windows Server 2003) to upload an xml document to the web everyday. Due to nature of our business, we require the ftp to be secure (SFTP), so i need a DOS SFTP add-on: any suggestions.
It is also a requirement that we PAY for it (management?! ),
we have a WHM account... we have different accounts on that...and for each account, there are add-on domains underneath that. (i hope you know what i mean)
and we set it up to use only SFTP to connect to server. no FTP.
after we have set it up that way, it seems that we can only connect to SFTP using 1 user/pass for each account... that is the same user/pass we use for Cpanel of each account.
say, i have Account A... under Account A, i have addon domains: A1.com, A2.com, A3.com... setting SFTP only on that server, all those addon domains of Account A, can only use 1 user/pass to login to SFTP which is the cpanel access also of Account A.
question is.... is this behavior correct??
how can we create a different user for each add-on domain?
I'm trying to upload about 200 Gb of data and it became clear to me to route it out a specific connection sftp was the way to go.. (the ssh2 kind)
The problems I'm now having is that the 2 applications I rely on cannot get the job done.. CuteFTP Pro 8 can't even begin to get it done it crashes, errors out etc. and for while there it looked like the free program WinSCP was going to get it done but now it errors out/crash's and while it actually did get about 1/4 of the data done, it seems to think when it reported it done.. it got it all (that is when it doesn't crash for no reason, these crashes only occurred mainly when I tried to get it do 3/4's or the rest of the data)
So anyway.. recommend me a good client app if you can.. (that does real folder sync transfers) preferably ssh2/sftp, I'm uploading to dreamhost if that makes a difference I assume it doesn't though..
I've noticed that on most servers I use, downloading a file over SFTP is about 4x slower than downloading over HTTP. Can anyone tell me why and if it's possible to tune the SFTP server?
- neither the server nor my desktop shows significant CPU use so it isn't the processing overhead of encryption.
- The symetric key ciphers used should not increase the number of bytes transmitted.
- The file being transferred is already bzipped so the HTTP isn't faster due to compression.
- I'm using OpenSSH on Linux / FreeBSD server side, and WinSCP on Windows XP / Vista client side.
I have it setup and have a user created that can upload files to my website.
The problem that I am running in to is that the files that this user uploads are owned by him not the cpanel website user. Thus when I try to view the page in my browser I get a server 500 error since the site is set to only serve up pages that are owned by the cpanel website user.
When using FTP in the same way we did not have this problem as the file that was uploaded would automatically be owned by the cpanel website user.
I just got a barebone server. Installed apache2, php5, mysql,phpmyadmin.
I only have SSH access to the server. I wish to use CoreFTP to transfer some webpage files to /var/www folder. I can login the server using CoreFTP's SSH/SFTP and it displays all the files and directories, but I do not have the permission to write.
My question is, how do I give myself permission to write? Here is the id of my user:
I'm noticing that no one seems to offer SSH or SFTP access to Windows hosts. It seems it would be more difficult to offer this, but does anyone reputable offer this?
I am planning on uploading semi-private MS Access databases (hence the lack of Unix options) for site use, and I'd rather not expose them unencrypted.
Most of my background is the Linux/Mac world, but I do have ample Windows skill set, just not as refined or aware of all the available applications in Windows world, geared toward Joe User.
My accountant needs to run two sets of backups. First, he wants to backup his documents to an offsite location (space on his web hosting service) and he wants them to be encrypted on the web hosting server, which is understandable and recommended.
Short of installing TrueCrypt and using Filezilla with a manual process , is there any free or low-cost (but well supported) that would automatically upload revised documents and data files in encrypted form? This would not be very much data, just simple documents and accounting data files.
Secondly, he wants to have a "snapshot" of his HD to a USB portable drive (standard 2.5 HD). On Linux, I'd recommend Rsync, on Mac, Rsync or SuperDuper (and others), but on Windows, any recommendations? I see Unison, etc. I would just want it to update any files that have changed to make subsequent backups run much faster, such as only 15-18 minutes (depending on amount of data changed) and make the drive bootable, so in the event he looses his HD in his laptop, he could boot from the USB portable drive and be back up and running.
While I know I could easily figure out all this on a more manual basis, looking for things that would be friendly for Joe User to use and/or be something that can be setup and would run pretty much on it's own, assuming the backup drive was connected or system was on the Internet to upload the files, etc.
I am unable to find how to resume file transfor via sftp and command line:
I use PUT command to upload file, but when connections fails and I start again, the transfer starts from its beginning - how could I made it to check the uploaded part and then resume?
I'm not that confident with installing or compiling on Linux and I guess that's where the problem is. So any assistance may go along way.
Basically I am running a AMD64 on a Fedora Core server. I noticed when I wrote a php script which I want to sftp some data to another server I was getting a message saying that :
Quote:
Call to undefined function ssh2_connect()
I thought this was a bit strange as I usually have had this feature running without a problem on other machines... Anyway after investigating the problem it looked as though I needed to add a couple of extensions 'OpenSSL' and 'libssh2' as specified on this page :[url].
I downloaded them and OpenSSL appeared to install. However when trying to install libssh2 I received the following:
Quote:
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(md5_dgst.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value
Obviously I can't continue onward until I get this problem fixed, but have been searching around for near 7 hours now and seem to be chasing my tail? Can anyone point on what I am doing wrong?
BTW within the libssh2-0.17 dir I am first running ./config then make then make install.
I'm looking for a relatively cheap shared host, but I'm having trouble finding one with SSH/SFTP transfers. Everyone has FTP, but my concern is that FTP itself is not secure. I was reminded of this recently: http://www.43folders.com/2008/07/14/dump-ftp. Wikipedia documents this as well: http://en.wikipedia.org/wiki/Ftp#Security_problems. So with FTP, my passwords would be transmitted in the clear. (If I'm wrong, please correct me!)
I've been looking at Godaddy or 1&1*. 1&1 has a plan with SSH access that's about twice the cost of the plan I'm looking at. I'm not sure it's worth double the cost.
I'm to the point where I think I've overthought the variety of hosts, but in my estimation it's an important feature. Does anyone (dis)agree that it's important? Any other ideas of hosts?
*I was looking seriously at Bluehost also until I read some of their recent shenanigans here; thanks to everyone here for discussing their problems!
Also, to avoid the inevitable question of what I'm looking for in a host: 100 GB of space 1000 GB of bandwidth/month Linux-based server Apache server 10 MySQL databases PHP (preferably 5) Python support Some sort of control panel interface Good support reputation, preferably ticket-based and with chat support Automated or easy Wordpress installation would certainly be nice.
The following expect script works perfectly from the command line, but fails under cron:
Code: #!/usr/bin/expect spawn sftp -b /root/sftp.txt root@***.***.***.*** expect "password:" send "password " interact The output is:
Code: spawn sftp -b /root/sftp.txt root@***.***.***.*** root@***.***.***.***'s password: I can't work out if the password just isn't getting sent, or if the interact command is causing the script to fail. I also can't fathom why this would only cause a problem under cron.
I'm trying to connect to the server via SFTP but when I check the box to do that in Total Commanders settings box it says I need the OpenSSL dll's. I downloaded the must current file from [url] but I can't find any dll files in it and I'm unsure how to proceed.
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.
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.
I have a domain with a few forwarding email accounts that forward to mac.com email accounts... for some reason every once in a while these accounts stop working...
This is the error I get when I email to that account:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: ...
I'm currently experiencing a problem where all domains on a server are not resolving with www. --- the domains themselves resolve fine, but the www. cnames are not resolving to the domains. This has caused quite a frustration and I'm wondering if anyone else has encountered this and if there is a quick fix to resolve it.
The domains appear to have the correct structure for the www. cname pointed to the domains so I'm guessing it must be something else.
I'm seeing this from WHM/cPanel --- the operating system is CENTos
How do I make sure that there are cron jobs running on my cPanel server? I have root access, etc...just not sure why my crons aren't running. Nothing weird going on.