Nп/п : 65 из 92
От : Bob Latham 2:5075/128 27 июл 23 21:45:58
К : druck 27 июл 23 23:51:14
Тема : Re: Nettle can`t SSH into RaspPi
----------------------------------------------------------------------------------
@MSGID: <5acab59a58bob@sick-of-spam.invalid>
ab309914
@REPLY: 2@dont-email.me> 4c82eb16
@REPLYADDR Bob Latham <bob@sick-of-spam.invalid>
@REPLYTO 2:5075/128 Bob Latham
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<5acab59a58bob@sick-of-spam.invalid>
@RFC-References: <5ac99d449fbob@sick-of-spam.invalid>
<2bb1bfc95a.BrianNews@brianhowlett.me.uk> LWdmz@news.chiark.greenend.org.uk> <5ac9f81ac4bob@sick-of-spam.invalid>
e6kmz@news.chiark.greenend.org.uk> <5acaae0566bob@sick-of-spam.invalid>
2@dont-email.me>
@TZUTC: 0100
@PID: NewsHound/v1.53-32 RC1
@TID: FIDOGATE-5.12-ge4e8b94
In article
2@dont-email.me>,
druck <news@druck.org.uk> wrote:
> On 27/07/2023 20:23, Bob Latham wrote:
> > I can indeed ssh into my pi with this latest build [of Nettle]
> > all be it with many lines of dots first.
> Well that`s something.
> > One slight oddity though which is probably going to show my ignorance
> > more than anything else.
> >
> > When you log in, is shows the usual default..
> > pi@name:~$
> >
> > But it became clear very quickly that in fact it was at..
> > pi@name:~/home/pi~$
> `~` is an abbreviation for the users home directory, which with the
> default username of pi will be /home/pi
> > I don`t think it`s possible to get above that into the root and
> > then into boot or etc.
> You need to do have root privileges to get in to /root, do a
> sudo -i
> But be careful! Ctrl+D to return to a normal user.
> /boot can be accessed but not writen to by a user, to write become
> root.
That makes sense. Thanks.
> > Why would it do that, putty.exe doesn`t?
> Putty doesn`t do what?
I meant drop me into /home/pi but just tested again and to my
surprise, it does. I`ve built dozens of music players using SSH putty
and never noticed that before. The reason is that the very first SSH
commands I have in my notes are..
-----------------------
change directory..
cd /home/pi/mediaplayer
Make the run.sh executable.
sudo chmod +x run.sh
more......
-------------------------
So amazingly, I never noticed it before.
Thanks for the help.
Bob.
--- NewsHound/v1.53-32 RC1
* Origin: None (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441