When I try to generate public/private ssh keys for a specific user (ex: user1), I get the following error below. User1 doesn't have a home directory is it set to the default /nonexistent directory.
When I try generating the keys using root, I get the following error:
SVR1 Config:
Hostname: SVR1.local
Build: FreeNAS-9.2.1.9-RELEASE-x86 (2bbba09)
Platform: Intel(R) Pentium(R) 4 CPU 3.40GHz
Memory: 6052MB
Code:
[root@SVR1 ~]# su user1 [user1@SVR1 ] /root% ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/nonexistent/.ssh/id_rsa): Could not create directory '/nonexistent/.ssh': No such file or directory Enter passphrase (empty for no passphrase): Enter same passphrase again: open /nonexistent/.ssh/id_rsa failed: No such file or directory. Saving the key failed: /nonexistent/.ssh/id_rsa.
When I try generating the keys using root, I get the following error:
Code:
[root@SVR ~]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: open /root/.ssh/id_rsa failed: Read-only file system. Saving the key failed: /root/.ssh/id_rsa.
SVR1 Config:
Hostname: SVR1.local
Build: FreeNAS-9.2.1.9-RELEASE-x86 (2bbba09)
Platform: Intel(R) Pentium(R) 4 CPU 3.40GHz
Memory: 6052MB
Last edited: