This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

sécurité jail naissant ssh destination danger (Mac Gohan ?)

French community

Moderators: velivole18, ernie, mtiburs

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
dhenin
Starter
Starter
Posts: 63
Joined: 12 Apr 2013 08:47
Location: Poissy (France)
Status: Offline

sécurité jail naissant ssh destination danger (Mac Gohan ?)

Post by dhenin »

Bonjour,

Partant d'une installation toute native + jail tout neuf (proto)
j'essaye de me connecter par ssh sans avoir écrit dans le /etc/rc.conf

sshd_enable="YES"

et, alors, oh surprise je me retrouve sur le serveur. 80[
nas4free: ~ # ifconfig -a
em0: ...
inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.201 netmask 0xffffffff broadcast 192.168.0.201
nas4free: ~ # jls
JID IP Address Hostname Path
2 192.168.0.201 proto.domain.local /jail/proto
nas4free: ~ # more /jail/proto/etc/rc.conf
# enable SSHD
# sshd_enable="YES"
ftpd_enable="YES"
MaBabasseKelEstLoin :; ssh dhenin@192.168.0.201
dhenin@192.168.0.201's password:
Last login: Tue Apr 14 18:25:28 2015 from 192.168.0.25
Welcome to NAS4Free!
$ ifconfig -a
em0: ...
inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.201 netmask 0xffffffff broadcast 192.168.0.201
Je comprends bien qu'il faille être prudent et ne pas faire n'importe quoi,
mais là je trouve que l'erreur est vite commise pour peu qu'on soit débutant.

Bien entendu en écrivant sshd_enable="YES" dans /jail/proto/etc/rc.conf
le problème est résolu.

Avis aux amateurs !
---------------------------------------------------------
(V) Dhénin Jean-Jacques
( ..) 78300 Poissy
c(')(') dhenin@gmail.com
---------------------------------------------------------

Post Reply

Return to “Français”