LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2013, 04:28 PM   #1
Dave24
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
Ubuntu 12.10 LAMP Server SSH Tunnel Fugu Upload Denied


Hey everyone, completely new but learning. What I have done:

Using Mac OSx

Installed Ubuntu 12.10 on a VMware VM. Network setting Bridge (autodetect)

Installed LAMP using the following tutorial with minor modifications to get it up and running:

http://www.howtoforge.com/installing...ntu-12.10-lamp

If important I will spell out what I did that was different from the tutorial in order to get the phpmyadmin to work.

The server works from what I can tell.



I installed an SSH program in Ubuntu using the following command, to allow for and SSH client to interact with the server, at least that's what I'm assuming it does.

"sudo apt-get install ssh"

I can log into the server through terminal using "ssh <username>@<serverIP>" and entering my PW.

Using Fugu I can connect to the server through a SFTP connection, but when I select a PHP test script to upload it says I do not have the permissions.




When I try to connect using the SSH tunnel it asks for the following: <What I entered>

Create Tunnel To: <serverIP>

Service or Port: <22> (what the sshd_config says it "listens for")

Local Port: <1025> (I read somewhere use anything above 1024)

Tunnel Host: <my name's macbook pro> (I'm not sure if that's my computer name, but I assume that this computer is hosting the tunnel)

Username: <Ubuntu Username> (I don't know of another I could use)

Port: <left blank> (How many ports do you need??)

When I enter that information Fugu simply stays in a state of "connecting".



So my question is this, how do I get the tunnel to work? Or if you know of another/better way of uploading files to the server, that would be just as great.

Also if you know of a good site that explains the basics of servers and their operation that would be wonderful!

Let me know if you need more info.

Thanks!
 
Old 09-09-2013, 07:57 PM   #2
Dave24
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I figured it out. I still don't know what the SSh tunnel is, but I was connecting with Fugu through SSH. I needed to change the ownership of the /var/www directory. I did that with the command sudo chown <myusername>.users /var/www and it works fine. Now to learn php...
 
Old 09-10-2013, 02:38 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Great to know that you have solved your problem yourself.
If you want just take a look at
http://www.homeandlearn.co.uk/php/php.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio thru a VNC tunnel with SSH. The server is running Ubuntu 11.10 viccarpenter Ubuntu 5 04-19-2012 07:53 PM
Reverse SSH Tunnel Ubuntu and Windows 7 twaddlac Linux - Networking 6 10-06-2010 11:27 AM
SSH Tunnel bind to server IP eriktm Linux - Networking 3 05-06-2010 08:52 AM
access ssh tunnel (on server) from network ghostwriter78 Linux - Networking 13 11-02-2007 03:33 PM
How to Tunnel through a ssh server muneebs Linux - Networking 2 02-12-2005 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration