Remote login to /var/www/mycloud/any_directory/
by Pedroski from LinuxQuestions.org on (#5QG4F)
Another question, if you have time:
I do this on my laptop:
Quote:
then, in my browser,
Quote:
opens phpMyAdmin on the cloud server
I was hoping to test a webpage this way, so I tried
Quote:
/var/www/mycloud/20BE4cw/ is directory containing webpages for 20 Business English class 4, beginning with index.php
I think the problem is, when I log in this way, I am in /home/pedro/ which is empty.
Is it possible to log in to /var/www/mycloud/20BE4/ directly??
I tried
Quote:
but the browser disregards /../../
I think then, I could test a webpage, before I have changed to domain name from my old web hosting company.
I do this on my laptop:
Quote:
# do this on the local machine ssh -L 9980:localhost:80 -p 22000 -i ~/.ssh/my_cloud_ed25519 pedro@123.456.789.123 |
Quote:
http://localhost:9980/phpmyadmin |
I was hoping to test a webpage this way, so I tried
Quote:
http://localhost:9980/var/www/mycloud/20BE4/ |
I think the problem is, when I log in this way, I am in /home/pedro/ which is empty.
Is it possible to log in to /var/www/mycloud/20BE4/ directly??
I tried
Quote:
http://localhost:9980/../../var/www/mycloud/20BE4/ |
I think then, I could test a webpage, before I have changed to domain name from my old web hosting company.