Friday, November 13, 2015

[FreeNAS acces freeNAS console remotely]: Can I acces freeNAS console remotely over the network?

Can I access freeNAS console remotely over the network?


You can access the console remotely using Putty or .. ssh client on your *Nix system.

1. On FreeNAS   WebGUI :Services: SSH enable SSHd service
  1. Enable SSH service
  2. Set the port , default port is 22 however you should consider using a different port between 10000 and 65535, see http://www.iana.org/assignments/port-numbers.
  3. For the beginning allow 'root' login if you are behind a router/firewall but consider to disable 'root' login in the future.
  4. Enable keyboard-interactive authentications, make sure that you have a complex admin/root password .
  5. Not cover by this howto.
  6. Enable compression. For internet transfer only.
  7. Server Private key. Not cover by this howto.
  8. When you finish click on "Save and Restart" to apply changes.
  9. If everything is OK you should receive the message that "changes have been applied successfully"


2. Download PuTTy (ssh client)  from : http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe


3. Run PuTTy and set the connection parameters and click Open.
  1. Enter FreeNAS IP or FreeNAS host name, on this example we use the default IP 192.168.1.250
  2. FreeNAS SSHd port, on this example we use the default port 22
  3. Select SSH protocol
  4. You can save the session now or later for future use. I chose to save the session under "freenas" name.
  5. If you chose the save the session click "Save"
  6. Now to open a remote connection  click  "Open"
  7. Latter you can get back and set advanced connection option, please read the PuTTy  manual. Not cover by this howto.



4.  First time when you connect to a remote server you will see a similar pop-up box. If you accept to connect to the server click Yes. The server key will be cached for future use.




5. On this example we use the user 'root' (the super user or Administrator).




6. The password is the FreeNAS admin password ( the WebGUI password).




7. If everything is OK you should get the shell prompt.


No comments: