Originally posted by emailssent
thanks for ur kind response
i add my host it give me ip
now what command should i use to access office system.
lets say dynamic ip of home sys. is 220.127.116.11
of office is 18.104.22.168
should i say ssh email@example.com
and what if i would like to access from window to linux pc or
vice versa from linux to windows system
Look at my previous posts. When your behind a firewall or a router, you canNOT ssh by IP address.
By your home IP, I assume you have a router. You probably have a firewall on it. You have to allow ssh port 22 through the firewall. Your routers web site should have instructions. You need to set a dyndns.org account and follow their instructions on how to set it up. And if you are connecting to your home pc from work and they have a firewall at work, you have to get out of your work firewall. There are some programs that would probably work. Search on freshmeat.
To connect to your work PC, you have to talk to the systems administrator because they will have set up a firewall and will have to give you instructions on how to get through it.
Firewalls are designed for security and blocking unwanted connections. So you have to get past them.
If you want to connect TO a window system from a linux I don't know how to set up the windows one. I'm mostly a Linux/Unix person
But to connect from windows to linux you have to set up the linux (see above) and use putty software on the windows box. Plus you'll need software to get through the firewall available by searching on download.com. If your work has a socks server then sockscap is what I use.
homebox -> router/firewall -> internet <- router/work_firewall <- workbox
On your homebox and workbox you have a private ip address. Both go through routers which translate the private ip's to public ones for the internet and translate back to private ones on the local area network. So the firewalls are going to be the the sticking point.
Here is a tutorial that might help
I hope I have been clear. If you have questions I will be glad to answer if I can.
BTW, I ssh into my home computer everyday from work. My home box is linux with sshd running and I use a dyndns.org account. I had to go into my D-Link router and let the linux box throught the router. At work I use putty and sockscap to get through their firewall.