How to ssh through VPN under Mac Sierra host?

Discussion in 'Linux Virtual Machine' started by DizA, May 14, 2017.

  1. DizA

    DizA Bit poster

    Messages:
    1
    I'm on Mac Sierra and I installed ubuntu on Parallel desktop. To access ubuntu, I have to go through a Forticlient installed on the mac to ubuntu via ssh.
    So it will be: Mac -> Forticlient VPN -> Ubuntu (VM)
    My question is: How to connect in SSH from the console of the mac and have access to Ubuntu (which is on the VM). A command like
    <code>ssh -L 10080: localhost: 10080 developer@localhost -p 22</code>
    This command works very well without the forticlient.
    I also tried this thread and this one but it doesn't help.

    Any suggestions will be appreciated.
    Thanks!

    Environment:
    Mac Sierra 10.12.4
    Parallels Desktop 12.1.3
     
    Last edited: May 14, 2017
  2. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    Hm. Not sure I understand why do you want to achieve. Do you want just to connect from host to the VM? Or do you need forward port to the VM? Anyway in the command you've provided there's only "localhost", no guest IP address is used.
     

Share This Page