That's strange, are you doing this from the Shell prompt in the web GUI?
You should not get a permission error as you're automatically logged in there as root.
No - sorry, forgot to mention - the PuTTY program started working after I visited the Users page to check for the state of the 'Disable password login' and the 'Lock user' boxes.
The message was as it appears in the PuTTY interface.
Typing directly into the shell at the server itself I get a long list of stuff, far too much to type in (which is why I keep trying with PuTTY, so I can cut and paste it).
Typing it into the web GUI is the same, but how do I paste the results into a 'code' box for you to see it please?
Think I've found out - here goes -
Code:
[root@freenas ~]# cat /var/log/auth.log
Sep 30 10:29:13 freenas newsyslog[1462]: logfile first created
Sep 30 10:29:21 freenas sshd[2151]: Server listening on :: port 22.
Sep 30 10:29:21 freenas sshd[2151]: Server listening on 0.0.0.0 port 22.
Sep 30 10:48:19 freenas sshd[2151]: Received SIGHUP; restarting.
Sep 30 10:48:19 freenas sshd[3173]: Server listening on :: port 22.
Sep 30 10:48:19 freenas sshd[3173]: Server listening on 0.0.0.0 port 22.
Sep 30 10:48:28 freenas sshd[3173]: Received signal 15; terminating.
Sep 30 10:48:32 freenas sshd[3622]: Server listening on :: port 22.
Sep 30 10:48:32 freenas sshd[3622]: Server listening on 0.0.0.0 port 22.
Sep 30 10:48:51 freenas sshd[3627]: Invalid user idi_admin from 192.168.1.37
Sep 30 10:48:51 freenas sshd[3627]: input_userauth_request: invalid user idi_adm
in [preauth]
Sep 30 10:48:57 freenas sshd[3627]: Failed password for invalid user idi_admin f
rom 192.168.1.37 port 50871 ssh2
Sep 30 10:49:04 freenas sshd[3627]: Connection closed by 192.168.1.37 [preauth]
Sep 30 11:01:01 freenas sshd[4031]: Invalid user idi_admin from 192.168.1.37
Sep 30 11:01:01 freenas sshd[4031]: input_userauth_request: invalid user idi_adm
in [preauth]
Sep 30 11:01:07 freenas sshd[4031]: Failed password for invalid user idi_admin f
rom 192.168.1.37 port 50902 ssh2
Sep 30 11:01:15 freenas sshd[4031]: Connection closed by 192.168.1.37 [preauth]
Sep 30 11:11:13 freenas sshd[4853]: Accepted password for idi_admin from 192.168
.1.37 port 50963 ssh2
[root@freenas ~]#
Did it work? Can you see it?