Attach ethernet port to SSH tunnel

Anyone know if I can setup one ethernet port on a Mac Pro to provide DHCP/NAT and direct all traffic on that port to an SSH tunnel?
What I want to be able to do is create an SSH tunnel to a proxy server and then have any device I plug into one of my ethernet ports go through that tunnel/proxy.
I have the tunnel/proxy working by creating a network location with a SOCKS proxy server at 127.0.0.1 port 2001 and then doing ssh -D 2001, but not sure how/if I can connect it to the physical ethernet port plus provide DHCP/NAT as well.
I have OSX Server 10.6.4 if that helps.

Hin j.v.,
It is possible to iChat Bonjour over a Virtual Private Network , yes.
2:33 PM Thursday; May 4, 2006

Similar Messages

  • SMB through SSH tunnel

    I'm having trouble setting up samba access over an SSH tunnel. If I forward port 139 on my machine to port 139 on the server, like so,
    ssh -L 139:localhost:139 user@server
    and then connect from the finder with Go -> Connect to Server and enter "smb://localhost/username" it works great. Moreover, if I do "smbclient -L localhost -U username" I get (with names changed to protect the innocent):
    Domain=[MYSERVERNAME] OS=[Unix] Server=[Samba 3.0.24]
    Sharename Type Comment
    IPC$ IPC IPC Service (Myservername)
    username Disk Home Directories
    Domain=[MYSERVERNAME] OS=[Unix] Server=[Samba 3.0.24]
    Server Comment
    Workgroup Master
    OATESNET MYSERVERNAME
    That's great. However, I need to in fact be running a samba server on my local machine as well as accessing a remote one --- therefore, I can't forward from port 139 on my local machine because it conflicts with my local samba server (actually, I can, and it appears to be a crapshoot whether my local server or the remote server through SSH gets the connection. Weird. But that's a different story).
    So, I try and forward from a different port, say 52187. So I create my tunnel:
    ssh -L 52187:localhost:139 username@server
    Now I try and connect through the Finder. I get error:
    "The Finder cannot complete the operation because some data in "smb://localhost:52187/username" could not be read or written. (Error code -36)."
    Hmm. Let's try and diagnose from the console. I type:
    smbclient -L localhost -U username -p 52187
    It connects to the remote server, but only partially. I get the following output:
    Domain=[MYSERVERNAME] OS=[Unix] Server=[Samba 3.0.24]
    Sharename Type Comment
    IPC$ IPC IPC Service (Myservername)
    username Disk Home Directories
    Error connecting to 127.0.0.1 (Invalid argument)
    Connection to localhost failed
    NetBIOS over TCP disabled -- no workgroup available
    Weird. Note that this is with my local Samba server not running. Now, if I try and run smbclient with the local server running, I get a different error:
    Domain=[MYSERVERNAME] OS=[Unix] Server=[Samba 3.0.24]
    Sharename Type Comment
    IPC$ IPC IPC Service (Myservername)
    username Disk Home Directories
    session setup failed: NTSTATUS_LOGONFAILURE
    NetBIOS over TCP disabled -- no workgroup available
    Weirder --- so I look in the log files for the local Samba server (/var/log/samba/log.smbd). There are two new messages from the exact time when I tried to contact my remote server:
    [2007/06/20 17:35:08, 0] /SourceCache/samba/samba-100.7/samba/source/smbd/server.c:main(789)
    smbd version 3.0.10 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2004
    [2007/06/20 17:35:08, 0] pdbods.c:odssamgetsampwnam(2329)
    odssam_getsampwnam: [0]getsam_recordattributes dsRecTypeStandard:Users no account for 'username'!
    Note that 'username' is not a user on my local machine. I'm not sure what would happen if it were.
    What looks like is happening to me is that the samba client is in fact contacting the server on the port that I give, but then trying to initiate some other communication (authentication?) on the default port, 139. That's why when I'm forwarding from port 139 it all works fine. That's also why I get a different error message and stuff in my local logs when the local server is running --- the samba client is contacting the remote server for part of the transaction and the local server for another part. When the local server isn't running, it just can't contact anyone and gets confused.
    The question is, how can I make the samba client consistently use the port I tell it to use? Am I missing something?
    -Andrew
    PS -- why is it that I can have both a local samba server running on port 139 and an SSH tunnel that forwards from that port at the same time? Does it have to do with what interfaces their bound on? As in, the SSH server is only bound on the loopback interface, while the Samba server is only bound on my ethernet card? That's the only explanation I could think of.

    well, I'm not doing a smb mount and have never tried to do an smb mount; only an afp mount. I'm very fortunate that I have Macs at work and home, and all authorized users to my computer are Mac users.
    I'm running OS 10.4.9 and have been doing this (afp over ssh) throughout all iterations of 10.4.x and most if not all iterations of 10.2.x up through 10.2.8 on two older computers, a 2001 Quicksilver and a 2002 Quicksilver as the servers, and using them as the clients as well along with two Powerbook G4s as clients. Also, my kids (if you call ages 20-26 "kids") afp mount via ssh tunneling as well, from an iBookG4 and iMac G5s, also running 10.4.9.
    I gotta ask a dumb question or two or three or four:
    • When you ssh, obviously you have the ssh port (only) forwarded through your router and/or modem at home, right?
    • Do you have your Mac's (the one you are trying to use as the server) firewall turned on or off? And if on, what ports/services do you have turned on in Sys Prefs Sharing? (and if off, what services are turned on?) Windows Sharing is on?
    • If you turned on personal file sharing in your "server" Mac, do you have another Mac that you could try to ssh into, tunneling port XXXX:localhost:548 then from Finder, ⌘k to localhost:XXXX, just to see if that at least works?
    • highly unlikely to make a difference, but when you ⌘k to smb://localhost:XXXX, does it help to leave off the "/username" that you had reported in preious posts as appending onto the servername?
    One last-minute comment/suggestion: There is a shareware/donationware program called sharepoints that looks pretty cool; you can check that your mount points on your server are indeed smb shared or not (as a side note, if you are so inclined, you can create additional mount points other than just users' home directories, too). I am totally clueless as to how one, from the unix command line or maybe from the NetInfo manager, might do this, so if you would be treading new ground here yourself in this regard, this program might be of some value to you.

  • Possible to attach ethernet hub to AEBS?

    Dear All,
    Does anyone know if it is possible to attach a (non-switching) ethernet hub to my 2009 (dual-antenna, 802.11n capable) Airport Extreme Base Station?  I've just wired my house up with Cat-5e and would like more than the three available ethernet ports, but want the AEBS to continue with all NAT/routing.  I'm reluctant to get involved with a second router and subnetwork, because in my experience that's a pain ...
    Thanks in advance,
    arn

    I am not familiar with this particular device, but the link says that
    This switch is a Plug & Play installation and no configuration is necessary.
    So, if you take that at face value, the device is a switch.
    The problem with this device is that you will lose performance. Your AirPort Exteme has 10/100/1000 Ethernet LAN capability. The switch that you are looking at is only 10/100.
    Suggest that you look for a 10/100/1000 or what is known as a Gigabit Ethernet switch. Netgear or Cisco products would be a very good choice.

  • Possible to ssh tunnel Bonjour traffic across different subnets?

    Hello:
    For quite some time, I have been thinking of buying a couple of iSights to enable audio/visual between two distant computers. But I really don't want to have to leave a dozen ports in my DSL modems opened up in order to use AIM or Jabber servers to iChatAV to my "usual" called parties (I can't help it, I'm paranoid - I have one ssh port open on my DSL modem at home - so most everything I do from afar -- afp (port 548), vnc( port 5900), etc., I tunnel it all over ssh).
    So, in a similar vein, what I would like to do is treat a distant computer as if it were on my local 192.168.x.x NAT subnet, in order to do a Bonjour-like iChatAV connection without having to go to through these public servers and without having to leave a dozen ports open in my firewall (or go through the drill of opening/closing ports every time I want to iChat).
    Now, if I understand this correctly, on one's local subnet, iChat AV works using Bonjour to communicate with other iChat AV users on the same subnet, which, I think, uses multicast packets. So I'm wondering if it is possible to ssh tunnel multicast traffic to a different computer like so:
    ssh -L 5297:localhost:5297 -L 5298:localhost:5298 {called.party.IP.address}
    thus being able to set up a secure point-to-point iChatAV connection?
    Anybody ever do something like this?

    Hin j.v.,
    It is possible to iChat Bonjour over a Virtual Private Network , yes.
    2:33 PM Thursday; May 4, 2006

  • Dynadock U3.0 - Not able to use Ethernet port after Win 8.1 update

    Hi everybody,
    i am using a Dynadock u3.0 dock with my Vaio SCP 13.
    Since I updated my device to Windows 8.1 Update 1 I am not able to use the Ethernet port of the Dynadock.
    Before that everything worked fine.
    I am not able to reinstall the drivers correctly (tried 7.6m0, 7.5m2). While the driver insaller tries to start i am getting an error message, that the installer is not able to set a bunch of registry Keys (SYSTEM\CurrentControlSet\Services\DisplayLinkGA\D evice1) (till 0). (Image 1)
    If i ignore those messages and do install the driver, the Ethernet port will remain uninstalled in the device manager. (Image 2)
    If I try to install the driver manually (DisplayLink Network Adapter NCM), Ill get an error message that a driver was found but that the access was denied. (Image 3)
    I started the safe mode and could install the driver. But if I reboot to normal mode, the device could not be started.
    I also tried to disable UAC and I am logged in as the "real" administrator.
    Please find the error messaged attached (in German):
    [image 1]: http://picload.org/image/lcalwop/toshiba.png
    [image 2]: http://picload.org/image/lcalwoc/toshiba2.png
    [image 3]: http://picload.org/image/lcalwlg/toshiba3.png
    BTW: If I unzip the installer (7.6m0) and install the *inf for the right ven&dev (4503) it still does not work...
    I dont know what to do anymore...

    Hi
    After Windows 8.1 upgrade, you should also update the Display Link driver/software
    This is very important!
    The latest driver can be downloaded here:
    http://www.displaylink.com/support/downloads.php
    Note: the old version should be removed!

  • Ssh tunnel how to set up in SL?

    I have a server running SL with the firewall activated.  I want to tunnel in to it from outside my own network, while on the road.  I have used SSH Tunnel Manager to do so in the past (like for 4 years) but can not get it to work today.
    On my SL Server 10.6.8 I can not find anywhere to open ports, but I understand that if I activate File Sharing and Remote Management it will open port 22.  Correct? 
    On my router I opened port 3283 and 5900.  Correct?
    Where I get stuck is what to put in to SSH Tunnel Manager.  I can not find any clear novice instructions for it anywhere.  And I am confused as to what to put where.
    Can anybody help?  Thanks.

    Thanks Bob, it is raining cats and dogs so good time to check.
    I got it all up and running. 
    I am testing from a real slow connection (on purpose as this what I have often being on the road) and the screen update is (too) slow.  I tried all your methods and can not see any different in speed (read slowness).
    BobHarris wrote:
    The reason I do this is because Chicken allows me to use reduced colors (like 8-bit colors), and the Vine Server both honors my reduced color request and it actually plays nice with reduced colors (the Mac OS X Screen Sharing server does not alway play nice with anything less then 32-bit colors, which needs a lot more bandwidth).
    Where or how do you implement this?  I can not find it anywhere.  I am on 10.6.8 btw.
    And what is more my connection over Mac's Screen Sharing client, having Vine Server server turned on or not on the remote Mac makes also no difference.  I can get in either way and speed is the same.
    Here is the setting of my remote Mac just in case I should not turn both, the last two, on:
    Than there is an other problem.
    I suppose this is not a problem as I am tunnelling in over SSH, but would like to make sure.
    I also tried to follow the instructions on the alert screen, but no such settings are to be found on the remote computer.  Must be an out of date message text.  Or am I blind?
    Looking forward to your wisdom.
    Message was edited by: ChangeAgent. 
    Had an external link for the images as they refused to upload.  Sometimes, when this happens, you can upload images after you post.  That worked so removed links.

  • SSH tunneling to connect to remote computer

    Hi,
    I have to connect to my remote database(RHEL box) from a windows using SSH tunnel
    1. I have set up the SSH tunneling(with outgoing tunnel)
    2. I have made a entry in the TNSnames.ora file
    3. I establish connection to the remote server using SSH client and when i do tnsping
    i do get connection. Even when i change the host name to some unkown name i do get a tnsping but iam not able to connect to the database. do iam wrong anywhere
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ISIL-PRJ
    -04)(PORT = 1523)) (CONNECT_DATA = (SID = ora1022b)))
    OK (800 msec)
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ISIL-PRJ
    -04)(PORT = 1523)) (CONNECT_DATA = (SID = blablabla)))
    OK (800 msec)
    even when i change my sid name i get a tnsping. can anybody explain

    Hi,
    Looking for this schema below and see if help you:
               Secure Connection
       +---->-------[SSH]-------->-----+
       |                               |
       |                               |
       ^                               |
       |       Insecure Connection     v
    CLIENT---->--------------------> ORACLE
    ssh2 -l oracle -L 1521:192.148.1.251:1521 200.10.11.12
                        |          |                |
                        |          |                |
                   A  LOCAL        |                |
                   B       INTERNAL IP ORACLE       |
                   C                       EXTERNAL IP (GATEWAY)
                                                         C                             B
          | Firewall| . . . . .|INTERNET| . . . . . . |Firewall| . . . . . . . . . . |ORACLE|
          | Gateway |                                 |Gateway |                 192.148.1.251:1521
               .                                     200.10.11.12                                  
         A     .
       |Oracle Client|
       (TNSNAMES.ORA)
         <SERVICE> =
           (DESCRIPTION =
             (ADDRESS_LIST =                     
               (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
             (CONNECT_DATA =
               (SID = <SID>)
           )Cheers

  • Jconsole - remote connection thru ssh-tunnel

    Hi all,
    I need to start jconsole on my windows-box and connect to a remote tomcat-server thru an ssh-tunnel.
    I have walked thru various posts and blogs, but finally couldn't get it running.
    On the linux-server, I have set the following JAVA_OPTS:
    export JAVA_OPTS='-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.useLocalHostname=true -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=myserver'myserver is the server-name that is resolved by the hostname-command. I also tried using localhost instead.
    On the client I run the following ssh-command to create the tunnel:
    ssh tomcat@myserver -L8888:myserver:8888 -N -vWhen I try to create a remote connection with jconsole using localhost:8888, I see the following output by ssh:
    debug1: Connection to port 8888 forwarding to myserver port 8888 requested.
    debug1: channel 1: new [direct-tcpip]
    debug1: channel 1: free: direct-tcpip: listening port 8888 for myserver port 8888, connect from 127.0.0.1 port 1618, nchannels 2It looks not too bad to me, but unfortunately, jconsole runs into a timeout after about 2 mins.
    On the server I see the following using netstat:
    tcp        0    168 myserver:ssh    mywindowsbox:3381  VERBUNDEN  
    tcp        0      0 myserver:ssh    mywindowsbox:1317  VERBUNDEN  
    tcp        0      0 myserver:44625  myserver:8888   TIME_WAIT  
    tcp        0      0 *:8888                      *:*                         LISTENIt appears to me that the tomcat-server is listening correctly on port 8888 for all incoming hosts (although localhost should be enough).
    Furthermore, it seems that the ssh-tunnel has been establised.
    Why the hell, jconsole still can't connect?

    Hiya.
    JMX connections use two ports. You need the RMI Registry and the RMI Stub. This first one you bound to port 8888, but the other one is probably still bound to a random port. You need to be able to access that one through SSH as well.
    Trouble is that the second port uses a random port and most application servers can't statically configure this one. See this article for possible solutions (be sure to read the follow ups as well) : http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx
    Cheers,
    Hugp

  • Using portal admin console through an ssh tunnel?

    I'm trying to login on the portal admin over an established ssh connection:
    - profile server listen on hostname.subdomain.domain, port 8080
    - an ssh tunnel (via portforwarding through a firewall) from client port
    10000 to profile server 8080
    - connect from webbrowser to http://localhost:10000/console
    that won't work: internal server errors. If i change my hosts file:
    localhost 127.0.0.1 hostname.subdomain.domain
    it works. But this is ugly and conflicts with DNS.
    So, how can i configure the profile server to accept connections over an ssh
    tunnel? Anyone any idea?
    regards, Jordi

    Hello,
    Does any one in BEA have an answer to this. I was stumped when asked by a client. Any response will be great.
    C

  • Using Workgroup Manager via SSH tunnel

    Hi all,
    I'm attempting to use the Workgroup Manager app to remotely administer a OS X Tiger Server box. The server sits inside my company's LAN behind a firewall, which only allows traffic to the server on ports 21 (ftp), 22 (ssh), 80 (http) and 311 (server admin with SSL, I believe). All services on those ports work fine.
    My research on the net indicates that the Workgroup Manager app uses port 625, but since the hardware firewall is blocking traffic on that port to the server, I'd like to create an SSH tunnel to access it. I've tried the following command on my local machine (i.e., not the server):
    $ sudo ssh -L 625:localhost:625 [email protected]
    and am able to set up the tunnel with no problem. However when I try to connect Workgroup Manager (on the local machine) to localhost, it won't let me connect. So I tried telnetting to localhost port 625 (on the local machine) to see what's up, and received the following error:
    $ telnet localhost 625
    Trying ::1...
    Connected to localhost.
    Escape character is '^]'.
    Connection closed by foreign host.
    Am I missing something? I was under the impression that the SSH tunnel would allow me to access port 625 on the server via port 22. The software firewall is disabled on both machines, so it's not that. I'm not experienced with SSH tunnelling, so I could be totally wrong about the way this is supposed to work.
    Thanks in advance!

    A quick tcpdump here indicates that Workgroup Manager uses both 311 and 625 when establishing a connection to the server. It may be the lack of port 311 tunneling that's causing your problem.
    $ sudo ssh -L 625:localhost:625 -L 311:localhost:311 [email protected]

  • ORA Connect via SSH Tunnel on Windows failed! LINUX works ...

    Hello again,
    i tried to establish a Oracle Client Connection via SSH Tunnel on WinXP Pro.
    1. Opened SSH-Tunnel Connection with plink (putty)
    TUNNEL: 10.5.1.111:1521 => localhost:1521
    (plink works fine with telnet, MySQL Client and other stuff)
    2. Connected with Oracle Client on Tunnel END => Localhost, Port 1521
    3. WIth ORA8i i got: Paket Error, With ORA10g i get: TNS: no listener
    plink works fine, so i dont think the problem is located there.
    i tried, tnsnames.ora, easyconnect and TNS-Less. So i guess, its not related to the connection method.
    i tried the same on LINUX ... ssh tunnel and sqlplus connect ... IT WORKS !
    Does Oracle need an aditional Port?
    Does it have Problems with WIN2UNIX Connections? (ORA DB is on UNIX)
    tnx

    Hi,
    Hum..., I guess this not work!
    Looking for this schema below, you need put the 1521 port
    If you desire, access the www.ssh.com site and download other ssh program
               Secure Connection
       +---->-------[SSH]-------->-----+
       |                               |
       |                               |
       ^                               |
       |       Insecure Connection     v
    CLIENTE--->--------------------> ORACLE
    ssh2 -l oracle -L 1521:192.148.1.251:1521 200.10.11.12
                        |          |                |
                        |          |                |
                   A  LOCAL        |                |
                   B       INTERNAL IP ORACLE       |
                   C                       EXTERNAL IP (GATEWAY)
                                                         C                             B
          | Firewall| . . . . .|INTERNET| . . . . . . |Firewall| . . . . . . . . . . |ORACLE|
          | Gateway |                                 |Gateway |                 192.148.1.251:1521
               .                                     200.10.11.12                                  
         A     .
       |Oracle Client|
       (TNSNAMES.ORA)
         <SERVICO> =
           (DESCRIPTION =
             (ADDRESS_LIST =                     
               (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
             (CONNECT_DATA =
               (SID = <ORCL>)
           )Cheers

  • Ethernet Port on X61s

    The ethernet port on the X61s doesn't work while docked in the Ultrabase but does when not in the Ultrabase.
    Is this normal? If not how do you get the port to work while in the UltraBase?
    Solved!
    Go to Solution.

    bhohenstein, welcome to the forum,
    it is by design that the ethernet port on the ultrabase is a "pass through" port, like the VGA and modem ports. The system can only support one ethernet port. When you dock the ethernet port on the ultrabase becomes active and the internal ethernet port becomes disabled. Attach your ethernet cable to the ultrabase and everything should work fine.
    Hope this helps 
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Ethernet port dead- new logic board needed?

    The ethernet port on my 2010 iMac 21.5" died after a storm last week, so I brought it to the Apple store to have it checked out.  They said it needs a new logic board since the port is connected to it, which will cost around $700.  I can't see spending that much money to fix it, anyone have an ideas on where I could sell it for parts?  The guy I spoke to at the store said to give it a shot

    Is your wireless still working?  You could connect your Mac over Wi-Fi instead, if you still wanted to use the Mac, that is.  Or use a USB Ethernet adapter.  Apple sells one for $50 that was primarily for the Macbook Air, but will work with any recent mac.  But if you already have Wi-Fi, then I'd try that.  And if you don't have Wi-Fi, it still may be useful to try Wi-Fi first because even if the Mac's Wi-Fi doesn't work, you can still attach other computers or devices like iPads or iPhones, etc.  Whereas it would be a waste to buy the USB ethernet adapter only to find out that the USB ports on your Mac were also affected by the storm.
    Otherwise, as usual, you can always sell on eBay & Craigslist.

  • Is the Ethernet Port for Internet Only??

    I have tried to get an answer to a problem I'm having on another forum, without success, so I am asking it here.
    I have removed an internal 250Gb disk from my old G4 Tower and bought an enclosure so that I can use it as an external drive. The enclosure came with some software from a company called Ximeta, which I have installed. The enclosure also comes with a USB 2.0 and RJ45 port. With USB ports at a premium when I am working on locatiion I thought it would be easier to connect using the RJ45 port.
    The problem is that whenever I attach the device and register it (using the Ximeta application) it will not mount on my desktop. I have checked the Ethernet port and get messages that say that it has an IP address but cannot connect to the internet. The problem is I am connected to the internet via Airport and my wireless lan, so I am not clear about why the Ethernet port would display this message. Surely, the port can be used for any application, not just internet?
    Anyway, the result of several days testing and analysis is that I connect the device via USB and it mounts immediately but I cannot get the same result when connecting via Ethernet.
    Can anyone help please?
    Thanks & regards,
    Cliff
    Brighton, UK

    Its a network drive access it through the network pannel in finder.

  • SSH Tunnel to other SSH servers?

    I'm not sure how this can be done, with or even without an SSH tunnel.
    Here's my scenario:
    PowerBook@Work --> Firewall --> INTERNET --> Linksys Router/Firewall with port forwarding to Mac mini home server --> Mac mini --> Other Mac clients
    Obviously I can SSH into my Mac mini server from my PowerBook at work:
    ssh [email protected]
    However, what I want to do is, to ssh to the Other Mac client on my home LAN from my Work LAN. So far I accomplish this by SSH'ing into my Mac mini server and then SSH'ing from there to my other Mac clients (which all have static 192.168.X.X addresses).
    I have tried the following and it's doesn't seem to work:
    ssh -N -p 22 [email protected] -R 2110/example.com/22
    With port 2110 forwarded from my Linksys to my Other Mac client. Doesn't work.
    I know this is one of those scenarios where I "can't see the forest through the trees". Meaning, there must be an easier way? Any help?

    Paul,
    sorry for my mistake. I forgot the "yes" in the commandline.
    I wouldn't put all the different ssh connections into aliases of my .bashrc. SSH offers the use of a config file. Put everything there. It's easier to maintain and the recommended way for ssh.
    Create a plain text file in ~/.ssh/config (for example with vi). And put the following stuff in there.
    Host nicknameforyourhost
    Hostname hostname.example.com
    User yourusername
    In Addition you might want to add one of these:
    Port 22
    Protocol 2
    Compression yes
    ForwardX11 yes
    You can even put portforwardings, reflections etc. in there.
    LocalForward 10548 127.0.0.1:548 To tunnel AFP on the server.
    LocalForward 10080 127.0.0.1:80 To tunnel to an webserver running on the host that is blocked by the firewall.
    To tunnel ServerAdmin, Workgroup Manager and Server Monitor Connections to the host (if it's running Mac OS X Server)
    LocaLForward 311 127.0.0.1:311
    LocalForward 625 127.0.0.1:625
    LocalForward 687 127.0.0.1:687
    You then connect your admin apps to localhost. This one has to be done as root, as you're forwarding privileged ports.
    To forward an http connection to the webinterface of your router through the tunnel. Provided your LAN Range is 192.168.1.0 and your router is located at 192.168.1.1.
    LocalForward 10080 192.168.1.1:80
    You then connect your browser to http://localhost:10080/ and it will go through the tunnel, and be reflected from the host you connected to via SSH directly to the router. That way you could access your routers config pages without activating remote administration which is of course a lot more secure.
    For your particular problem:
    Create one Host entry with the actual machine that you connect to.
    Host myserver
    Hostname myserver.example.com
    User yourusername
    Protocol 2
    Port 22
    Compression yes
    LocalForward 10080 192.168.1.1:80 see example with router above
    LocalForward 10022 192.168.1.100:22 to create a ssh portreflector for host 192.168.1.100
    This config will allow you to connect to your server and access your router like I described above and also create a tunnel for another ssh connection to 192.168.1.100. To access that machine, create a second config in that file just a few lines below.
    Host myothermac
    Hostname localhost
    User yourusername
    Protocol 2
    Port 10022
    To use all that you enter into your terminal:
    $ ssh myserver
    Password:
    and from a second terminal:
    $ ssh myothermac
    Password:
    You're directly taken to the othermac. You can put as many options in ther as you like. See the man page for SSH what else you can put into a config file. I hope by now is clear why not to use aliases in your .bashrc. Do some experimenting, you cannot hurt anything.
    You could also do that from a screen session or just background the first SSH session from the terminal but that would make things unnecessarily more complex for the examples given.
    Hope that helped.
    Regards MacLemon

Maybe you are looking for

  • Issue on Purchase order creation with Delivery schedule line items per PR

    Hi Note->Developed inbound FM to create PO's in SAP through IDOC. We are creating purchase orders from vendor which is coming from Inbound IDOC. Here we are using as BAPI_PO_CREATE1 to create PO's. before that i am passing all the inbound data of the

  • How to Serve LIDAR (SDO_PC) from LAS_Importer?

    Hi, Using the LAS-Importer from Oracle, I have loaded a LAS file and further created the SDO_PC object that breaks it into 2D block extents. I am now wondering what the best way would be to serve this data for use by an external viewer (preferably as

  • HTTP Connection For Proxies

    Hi all, Can anyone explain me how to create the http connection in SM59. Here iam getting a status error as HTTP_CONNECTION_FAILED here my scenario is File to Proxy Suggest me where i have to make this connection means in XI or SAP system regarding t

  • Do forms only work with Adobe hosting or are they now universal?

    Just wondering if the forms created in muse can be used on external sites and not just with Business Catalyst. Cheers Dave.

  • Mac messages share my screen

    Mac Messages Share my Screen quit working some time ago.  The internet said there is a problem recognizing AIM accounts.  Yet when I try to add another account AOL is an option.  Is there a webpage that provides a solution?