Ubuntu Servers :: Configure Openssh Ftp - Upload To Web Directory

Jul 27, 2010

I would like to upload files via ftp or sftp to my web directory at /var/www/...

Originally I had installed openssh-server (through apt-get, before learning about tasksel). I assumed this only had ssh support and not ftp, so after a quick search, I installed vsftpd. I would like to learn how to configure openssh, and I mention vsftpd in case there is a conflict.

Right now I am able to log in to my server box through ssh/ftp, but I can only modify my home directory. I created a directory: /var/www/andrew and set permissions to drwxr-xr-x. I am unable to upload files to this folder.

What do I have to do to resolve this, and is there anything else I should know about my situation?

View 3 Replies


ADVERTISEMENT

Fedora Servers :: Configure Openssh, /etc/sshd_config On A New Installation Of Core 14?

Nov 11, 2010

How to configure openssh, /etc/sshd_config on a new installation of Fedora Core 14? [since tt does not work right out of the box, I cannot ssh into it]

View 2 Replies View Related

Ubuntu Servers :: Error Occurs When We Use Move Upload File, To The New Directory Within Our PHP App

Oct 7, 2010

We are running into issues with a File Upload script written in PHP. We can upload files without issues except with .*x files (such as .docx) We are getting permission denied errors. The error occurs when we use move upload file, to the new directory within our PHP app. If we give the uploads folder 777 access, it works fine without error. I dont like that. So I set it to 775 (Also dont like this), but it didnt work until I gave group ownership to www-data (I really dont like this)

This issue only happens on our production server, which is Ubuntu 9.04, running Apache2.2 and PHP5 will all the newest updates. We also have all MIME's configured, and are able to download the file from Apache without error. The first thing we noticed before the file permissions error, was that the MIME type changed to .zip when we used mime content type function. But yet using the FILES array, it still showed .docx.

View 2 Replies View Related

Fedora Servers :: Can't Upload File To Empty Home Directory

Feb 1, 2009

I just installed FC10 and then used yumex to install the vsftpd FTP daemon package. I'm using the vsftpd.conf file that came with the distribution, and its almost identical to one I copied from my FC2 machine's working set-up. When I try to FTP in as a known system user I'm presented with my home directory /home/myusername/. The directory appears empty to the FTP program, but isn't in reality. I can't upload a file to the empty home directory. I can move up the directory hierarchy to /home/, but again that appears as an empty directory.

I don't think it's a vsftpd.conf file issue. I've tried everything I can there. Could it have something to do with permissions? I fiddled with those, but couldn't make an FTP directory listing work.

[code]....

View 5 Replies View Related

Ubuntu Servers :: 10.04 No Upload Folder In /tmp With Php Upload Script?

Jun 13, 2010

have setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.

This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?

View 3 Replies View Related

CentOS 5 :: Compiling Openssh-5.8p1 With Default Configure Parameters

Mar 25, 2011

Now to business. I need to statically build openssh-5.8p1 and the compile fails. some box information: CentOS release 5.5 (Final) arch i686

first thing's first. Quote:yum groupinstall "Development Tools" "Development Libraries"

View 1 Replies View Related

Ubuntu Networking :: Change OpenSSH Home Directory?

Jan 16, 2011

I now have my ssh server all setup on my ubuntu 10.10 machine and properly working with a private rsa key. Anyway when I connect to it via my client it opens to: /home/myusername

I am able to run around the whole drive and have full access to everything, which is great. But I don't have anything on this hard drive. All my data and files that I really want to access are on the second drive of this computer. It doesn't have an OS on it, just files.how to change the directory to point to that drive and have full access of everything.

View 9 Replies View Related

Ubuntu :: OpenSSH/SFTP Change User/home Directory?

Feb 18, 2010

I'm trying to make it so that when a user logs in they are forced to stay within a certain directory structure. For some reason what I am doing is not working properly.Here are the relevant file informations:sshd_config:

Code:
Port 2238
Subsystem sftp internal-sftp

[code]...

View 4 Replies View Related

Ubuntu Servers :: Openssh Refusing Connections From Outside?

Sep 11, 2010

When ever I try to sftp or even ssh into my server I get connection refused.

I have the port forwarded in my router.

What am I missing?

Also I have installed Ngnix so what do I need to do for it to work?

View 5 Replies View Related

Ubuntu :: Upload Whole Directory One Time?

Jun 3, 2010

when i use ubuntu one ,i want to upload the whole Directory one time,how can i?there are 200 files in the Directory,if i upload one file one time,it waste my time.

View 3 Replies View Related

Ubuntu Servers :: 10.4 Apt-get Install Openssh-server Failure?

May 8, 2010

I'm trying to get openssh-server working so I can stop using the family TV and just SSH from my laptop. I've only just installed 10.4 server edition, and I've made a change to /etc/apt/sources.lst by removing the # in front ofdeb cdrom:[Ubuntu-Server 10.04 LTS Anyway I run:sudo apt-get install openssh-server

Code:
Reading package lists... Done
Building dependancy tree

[code]....

View 7 Replies View Related

Ubuntu Servers :: Stop Openssh From - Ever - Running At Start Up?

Jun 12, 2011

I'm running Ubuntu 10.04 LTS and I have installed openssh.I need to find a way to configure it so that it never start up when I boot into my computer. The reason is: I haven't had the time yet to learn how to set it up and configure it correctly. Until that time comes I don't want it to run at all.Every single time I boot into the system and I have to do that first before I can even do what I really need to on the computer. It's annoying.Does anyone know the best and least complicated way to just make it not run at all until I'm ready to set it up properly?Also how to check what is running on my system after I boot up so I can double check, after making the changes, that it worked right.

View 9 Replies View Related

Ubuntu Servers :: OpenSSH Reverse Lookup Using /etc/hosts Before Nameserver?

Apr 6, 2010

Like many others I'm running into some reverse lookup issues with SSH. Setup is as follows:

localnet setup
myserver - 192.168.0.x
myworkstation - 192.168.0.y

[Code].....

nslookup tests show that my reverse lookup is functioning correctly. However, if I use "myworkstation" to connect to myserver.mydomain.com using an external nameserver SSH says: "Address 84.162.xx.yy maps to myserver.mydomain.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!"

On myserver the /etc/hosts has the internal address for the server which seems the normal way to go to me. Changing this to the servers external address solves the issue.

Apparently a connection originating from myworkstation arrives from/with my external address, and when its reverse is checked by the server it apparently finds its own internal address for that name in /etc/hosts before doing a nameserver query and thus concludes that internaladdress <> externaladdress which gives the error.

Is there any way to have the server check external DNS before /etc/hosts? Another solution would probably be running an internal DNS, so myworkstation doesn't connect through the 'outside'.

View 1 Replies View Related

Ubuntu Servers :: SFTP Setup Using OpenSSH - Network Error?

Jul 6, 2011

I'm new around here and pretty new to ubuntu and linux in general. I am setting Up an sftp server. I set it up using openssh and it worked fine for a few months. Then recently we experienced a power outage. Now the server will boot fine, all users can login locally, but when they try to login remotely they enter their user info and then are denied with some generic network error. Again, being a noob at this I tried to trouble shoot this a little bit but I'm not quite sure what to look for. I believe the ssh service is running but I don't know what else to look for.

View 9 Replies View Related

Ubuntu :: Bash: ./configure: No Such File Or Directory When Run The Command ./configure --prefix=/usr

Apr 4, 2010

I am trying to follow this tutorial below so that I can get Text to the right of icons on the GNOME desktop. [URL] Everything so far has worked fine, except when I get to step 3 where I compile Nautilus. When I try to run the command ./configure --prefix=/usr It tells me bash: ./configure: No such file or directory

View 5 Replies View Related

Ubuntu Installation :: Configure Autoclicker In The Terminal - "bash: ./configure: No Such File Or Directory?

Mar 19, 2011

I found a tool made for Ubuntu called Xautoclick. I downloaded it and it is called "xautoclick-0.30.tar.gz" The installation notes say "tallatBe sure you have the proper development packages for your distribution installed (i.e. something like xserver-xorg-dev, gtk2-dev, et cetera). After that, run:

./configure make sudo make install" I have no clue what to do... I typed in "./configure" in the terminal and it says "bash: ./configure: No such file or directory?

View 3 Replies View Related

Ubuntu :: Upload There ( In / Directory ) A File Named App.log Using Curl?

Aug 1, 2010

I have a site's url. I have it's ftp admin username and passwd..How can I upload there ( in / directory ) a file named app.log using curl ?I read the manual but I understood nothing

View 2 Replies View Related

General :: Protecting Directory From Deletation But Upload Into Int

May 30, 2011

I want to make an upload directory, where people in the network can upload some files but i want to make sure that they cant delete the whole directory. Is this possible?

View 5 Replies View Related

General :: Upload A Txt File To A Domains Base Directory?

Nov 16, 2010

How do I upload a .txt file into the base directory of domains that I own?

View 1 Replies View Related

Server :: ProFTPd - Upload Anything Or Create Directory: 550 Permission Denied Error

Jan 7, 2010

I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.

When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there

View 5 Replies View Related

Ubuntu Servers :: Php Upload Location ?

Oct 30, 2010

I am running php on my ubuntu server, and I am trying to upload files to it.

Heres my code:

Code:

I use the move_uploaded_file(), but I can't get the location to work correctly. "/var/www/upload/" uploads to "/var/www/". This is the only way i can get this code to work. I would like to upload to "/var/www/upload/".

View 2 Replies View Related

Debian :: When Try To Make A Directory Or Upload A File It Returns An Error Saying That Permission Is Denied?

Apr 9, 2010

I ftp into the server and see the files, but when i try to make a directory or upload a file it returns an error saying that permission is denied.I am wanting the users to be able to log on with their user account and then be able to have full control over their directories. What can i do to fix this problem?I have enabled port forwarding for ftp. What else is there i can do? If you need any extra information, let me know! I would like to get this fixed asap!Here is my vsftpd.conf file.

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file

[code]....

View 4 Replies View Related

Ubuntu Servers :: Crypt And Upload To A Remote Server Through Ssh?

Jan 5, 2010

I have a compressed backup that I want to crypt and upload to a remote server through ssh once in a while. The problem is with the size, more than 4 GB. If the connection drops how does scp know to resume? This should be an automated process.

View 8 Replies View Related

Ubuntu Servers :: Upload Images On My Website Via A Web Browser?

May 22, 2010

I have been trying to make it possible to upload images on my website via a web browser. I have created the HTML form, I can browse to my desktop and upload an image. But my question is, where is it on my server after I upload it? I am running 8.04 on my server.

View 3 Replies View Related

Fedora Servers :: WordPress Can't Upload?

Jun 18, 2009

But I can't upload files or pictures all the time.Everytime I tried to upload , it tips me : "can't create file or folder ...... . is its parents folder writable by the server?"Now it's considered as a bug.But I tried 3 methods introduced on the net . But none of them worked. They are : 1: change the folder permission to 777 , not work for me.2: change the URL to "wp-content/uploads" not "/wp-content/uploads" , not work for me.3: use full url not "wp-content/uploads" also not work.

View 8 Replies View Related

Ubuntu Servers :: Upload Files Via FTP To A Specific Folder (/var/www/myfolder/)?

Dec 22, 2010

When I try to upload files via FTP to a specific folder (/var/www/myfolder/) I get the message 550 permission is denied. I set CHMOD 777 for this folder (I had to do this via SSH cause I was not allowed to do this in FileZilla)

View 5 Replies View Related

Ubuntu Servers :: Allow Users To Upload And Run Scripts In Controlled Environment?

Apr 22, 2011

I am setting up a small competition for a forum where there are a set of programming tasks to complete (in various languages). At the end of the allocated time, the fastest program that successfully completes the task wins.I would like to set up a server similar to the way the Google AI challenge works, where users can upload code to the server via an html page and the code is executed and profiled on the server.The problem is obviously security... so... how can I configure my server so that the uploaded scripts are run in a completely jailed environment and do not have access to anything outside their folder and cannot execute any commands on the server?The chain of events looks like this: User writes script on local machine -> user zips script -> user browses to server html page -> user uploads script -> script is compiled and executed on the server -> user is shown output from script

View 1 Replies View Related

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Fedora Servers :: Upload Something Via Http To MySQL?

Nov 18, 2009

I have a server (fedora 11 , LAMP). I want to know if I can upload something to my server via http (I mean from WAN),and this data stream can directly run into MySQL database . Do I need to write some special codes on my web page , or just change apache's configure file

View 7 Replies View Related

Fedora Servers :: Apache Php Upload Not Work

Dec 24, 2010

I've write a php code to upload files. by move_uploaded_file. I've given 777 to the folder. But file upload unsuccess, error log show no premission. I test the code in Centos it wotks. I change the dest folder in Fedora to /tmp it works, but it only work on /tmp. neither /tmp/abc nor /temp. I guess it's a setting problem on apache or php. I also copy http.conf and php.ini from Centos, but mod_file_cache and mod_mem_cache not find in Fedora.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved