Re: ssh to my computer behind NAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hiisi wrote:
> Dear list!
> I would like to be able to ssh to my home computer located behind my
> ISP' NAT. I know, I can tunnel to it through some middle host and
> actually I'm doing it at the moment. But I'm fancy is there a better
> solution? Is there a possibility of not using any computer at the
> middle to connect to my home system from the outside world? Can I
> connect to it directly using some magic setup? Any thoughts?
>   
Give this a try.....

1.  ssh into the machine that you normally log into first.

2.  Create a executable file in ~/bin  maybe call it "gothere" with the
contents simply "ssh user@xxxxxxxxxxxxx".

3.  exit from that and back to the remote system.

4.  Use "ssh -t user@xxxxxxxxxxx bin/gothere

Now, I have all of my logins set up to us public key authentication. 
So, I don't get password prompts....but it works just fine.
OK, I also tried to another host where I needed to supply a password and
that also worked....

[egreshko@misty ~]$ ssh -t f12l bin/gothere2
egreshko@xxxxxxxxxxxxx's password:
Last login: Tue Mar  9 18:31:24 2010 from 192.168.0.194
[egreshko@f12k ~]$ exit
logout
Connection to 192.168.0.191 closed.
Connection to f12l closed.
[egreshko@misty ~]$




-- 
The greatest love is a mother's, then a dog's, then a sweetheart's. --
Polish proverb

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux