Tag Info

New answers tagged

0

i've used a similar method with the same error and found out to use sshfs to connect/mount the sftp share on the server. Filezilla also connects but not able to get in with the terminal ssh command. http://www.fullybaked.co.uk/articles/chroot-ssh-ftp-users-to-home-directory was the tutorial i used to make it. I also had to create the home directory manually ...


1

Please make sure that the configuration file is following these attributes sudo nano /etc/vsftpd.conf anonymous_enable=NO local_enable=YES write_enable=YES chroot_local_user=YES Save and Exit that file Please make sure the following director is created the the permission is applied to it (replacing user name with the user name of the linux user that ...


0

As a follow up on my own question I will elaborate with my experience. I made Shell execution work from PHP, but had major security issues with the solution. That was a MAJOR mistake from my hand that I did not see this at the beginning. To eliminate security risks I made a bash script that looked activated users up in the user table. If the user was active ...


1

can i execute shell commands on Ubuntu from PHP, and automate what I am doing manually now? You can run shell commands from within PHP using the shell_exec() function or using the ` ` (backtick) operator: if you're running PHP < 5.4.0, first make sure to disable safe mode, then in your PHP script you can use either of those syntaxes: $return = ...


1

Looks like you've got the same problem I had a few years ago, though I only had to put a router in my back-pack! A few hints before you go trek up a mountain: Take a new server identical to the one you've locked yourself out of just in case you can't solve the problem with physical access. Have an Iridium phone plugged into a modem attached to the new ...


0

Symbolic link solution of above answer can broken due to chroot issue that was described here As per Above document suppose we have ftp root as follows: /path/to/ftp/ Now if anyone want to create symlink for /path/to/ftp/deep/level/directory/for/uploads as follows: /path/to/ftp/uploads --> /path/to/ftp/deep/level/directory/for/uploads This above ...


3

SFTP is not FTP It stands for SSH File Transter Protocol Server users often remotely connect to the server using Secure Shell (SSH), also known as OpenSSH. Open SSH is part of the default Ubuntu server installation. SFTP is an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capabilities. You can remove the openSSH ...


0

Solved with a pair of 3proxy. backend 3proxy.cfg in my LAN: auth iponly # only allow connect to control or ephemeral ports on FTP server allow * * ftp.company.org 21,30000-65535 socks -u tunnel: ssh@client.net -R 0.0.0.0:1080:localhost:1080 frontend 3proxy.cfg on client: auth iponly # allow host names that are resolvable only remotely fakeresolve ...


0

First of all, you should use names to refer to your machines on the network, rather than IPs. You should be able to configure a DHCP+DNS server like dnsmasq fairly easily, to allow you to provide meaningful names that you will remember. Beyond that, the device you are connecting to, must be running an FTP server, in order for FTP to be usable.


0

You should make sure your both machines are on the same 'logical' network and you could ping each other. If your local IP adress is, for example, '192.168.0.1' then your remote machine should be on that same subnet e.g. '192.168.0.2'. Find out the adress which is on the same subnet using ifconfig on the remote machine, then try to ping this adress from your ...


0

I had the same issue. When I created my Ubuntu server I installed a wordpress site and everytime I wanted to update a plugin I needed ftp access which was really annoying. I new I could jsut add the ftp details in the config for wordpress but I was Like NAH! so It turned out that wordpress cant write files to the wp-content directory because apache doesn't ...



Top 50 recent answers are included