Hi everybody,
This is my first post here. I installed FreeBSD and FreeNAS on my old PC. I had problems to implement passwordless ssh dialog between the FreeNAS server and my Windows computers, that's why I decided to learn a little about FreeBSD and FreeBSD commands in order to debug this a little (I am almost a linux newbie).
I installed openssh on my Windows 7 PC and as a first try I wanted to have a look at what is in the sshd_config file. The FreeNAS GUI, which has a "file manager" shows me when I log in as the root user, that there is indeed, starting from the top, a /etc/ssh/sshd_config path to the file, but the GUI does not allow to look inside the file. Never mind, with my openssh shell, I shoud be able to do it, shouldn't I? Well, it seems I am not :O
I logged in from my Windows PC with
Then I try to know where I am
OK then I should see my /etc directory, no?
My path is not there, but I have a .ssh (file or directory? I don't know)
I try
This directory seems empty?
So I am lost, it seems when I log in as root, I am not at the top of the file system. Then how can I get to that top? Or maybe there is something I misunderstand completely?
Gabier
This is my first post here. I installed FreeBSD and FreeNAS on my old PC. I had problems to implement passwordless ssh dialog between the FreeNAS server and my Windows computers, that's why I decided to learn a little about FreeBSD and FreeBSD commands in order to debug this a little (I am almost a linux newbie).
I installed openssh on my Windows 7 PC and as a first try I wanted to have a look at what is in the sshd_config file. The FreeNAS GUI, which has a "file manager" shows me when I log in as the root user, that there is indeed, starting from the top, a /etc/ssh/sshd_config path to the file, but the GUI does not allow to look inside the file. Never mind, with my openssh shell, I shoud be able to do it, shouldn't I? Well, it seems I am not :O
I logged in from my Windows PC with
Code:
ssh root@freenas
root@freenas's password: xxx
Welcome etc.
Code:
freenas:~# pwd
/root
Code:
freenas:~#ls -a
. .cshrc .history .ssh
.. .dialogrc .profile
I try
Code:
freenas:~#cd .ssh
freenas:~/.ssh# ls -a
. ..
So I am lost, it seems when I log in as root, I am not at the top of the file system. Then how can I get to that top? Or maybe there is something I misunderstand completely?
Gabier