Click to See Complete Forum and Search --> : Remote Connections
Gogeta_44
06-17-2004, 12:55 PM
I just made a website and I want to have a friend help me administer it. My problem would be that he lives on the other side of the country. So I need away for him to log into my computer as a special website admin account and hopefully start up nautilus and gedit to make changes. I heard ssh can do this but I have no idea how. Can someone tell me how or point me to a good guide to doing it. We both have slackware, are using gnome and are under linksys routers. Thanks!
XiaoKJ
06-17-2004, 01:15 PM
let him know your ip address.
Then make sure your modem routes the correct ssh port to the internet.
finally he should just ssh ip
login with your root password (remember to change afterwards!)
teeitup
06-17-2004, 01:15 PM
Well assuming that the specified user is running Linux or a Windows Xserver like Exceed ssh makes it easy.
Launch ssh with the -X -C options.
ssh -X -C username@webserver.com
then launch the app that is wanted.
-X setups of the X forwarding for you.
-C enables compression to maximize your connection.
Good Luck,
Gogeta_44
06-17-2004, 01:29 PM
i want him logging into a special account i created that controls the mail/web servers not root. how would i do this?
We both have slackware, are using gnome and are under linksys routers.
Oh, by the way, what port does ssh use?
XiaoKJ
06-17-2004, 01:35 PM
Originally posted by Gogeta_44
i want him logging into a special account i created that controls the mail/web servers not root. how would i do this?
Oh, by the way, what port does ssh use?
ssh is port 23
I think it is ok -- there should be a normal login shell.
Gogeta_44
06-17-2004, 02:00 PM
ok, thanks!
EDIT: isn't port 23 telnet? and should i use ssh -X -C domain or ssh ip
teeitup
06-17-2004, 03:42 PM
ssh -X -C "specialaccount"@IP or domain, depends on if the name resolves.
experiment.
Good Luck,
bwkaz
06-17-2004, 06:36 PM
ssh is port 22, not 23. 23 is telnet.
duncanbojangles
06-17-2004, 07:57 PM
I've been wondering this for a while 'cause I"ve wanted to do this from school a few times: How can I ssh into my computer if it's behind a Linksys router without forwarding the port to my computer? What if I wanted to be able to log into two or three computers on my network?
Gogeta_44
06-17-2004, 09:17 PM
When you do port forwarding do you use UPnP or Range? Im I use UPnP for my website but range for imap so which one is best?
EDIT: when i log into my special website account that my friend will log into and try to run anything gui it gives me:
([progname]:[prognum]): Gtk-WARNING **: cannot open display:
I DO have the -X option on.