Page 1 of 1
SSH session
Posted: Sat Mar 25, 2023 12:24 pm
by GW6RTV
How do I go about setting up a SSH session
Re: SSH session
Posted: Sat Mar 25, 2023 2:27 pm
by KN2TOD
Dashboard --> Configuration --> Expert --> SSH Access; key in your user id and password; starts a "Shell-in-a-Box" session.
Alternatively, you can use programs like Termius or Tabby to connect to Pi-Star directly; out of the box, Pi-Star is set to accept such SSH connections.
For file transfers and the like, try WinSCP or other FTP-type programs rather than trying to initiate system-to-system transfers via the command line.
Re: SSH session
Posted: Sat Mar 25, 2023 5:29 pm
by GW6RTV
Many thanks for the info.
Re: SSH session
Posted: Mon Mar 27, 2023 9:43 am
by GW6RTV
Sadly I am still unable to a SSH session, can anyone give me a step by step procedure of how to connect, in case I am missing some thing.
TIA
John
Re: SSH session
Posted: Mon Mar 27, 2023 1:13 pm
by KN2TOD
ASSUMING you have access to the Pi-Star Dashboard in a browser:
1) click on the ADMIN selection in the header
2) enter user name (pi-star) and password (raspberry) and hit enter
3) click on CONFIGURATION selection in the header
4) click on EXPERT selection in the header
5) click on the SSH ACCESS in the header
6) enter user name (pi-star) and then password (raspberry)
If you're getting tripped up somewhere in these steps, you'll have to provide more details about your initial setup: what kind of system(s) are you using here and what error messages are appearing, etc.
Re: SSH session
Posted: Tue Mar 28, 2023 11:44 am
by GW6RTV
I get as far as item 6, it allows me to enter username (pi-star} I hit enter so as to enter password (all good so far), I type in the password (raspberry) nothing shows on the screen to confirm I have entered any thing, I hit enter, and nothing happens.!!
Re: SSH session
Posted: Tue Mar 28, 2023 12:14 pm
by AF6VN
My recommendation would be to use something like PuTTY to go direct SSH rather than through some web browser overhead.
PuTTY may show an error message indicating some reason for not authenticating.
Re: SSH session
Posted: Wed Mar 29, 2023 10:33 am
by KO3F
On my MacBook, the SSH function does not work unless I go to the bottom of the SSH page and click on "Click here for full screen SSH client". Then I can enter login and password and get to the terminal prompt.
Re: SSH session
Posted: Sun Jun 16, 2024 1:49 pm
by ae5tc
Seems the new image really doesn't want remote ssh access to work.. Notes for my self mostly. After clicking SSH Access, if you want to access the pi-star remotely using ssh:
Code: Select all
echo Create host keys, this takes a minute.
ssh-keygen -A
echo Use the config which isn't broken and using deprecated options:
cp sshd_config.ucf-dist sshd_config
service ssh restart
I add my own scripts via ansible, like:
- reboot notification to slack
- backups over CIFS/Samba - w/Slack message
- VPN client (call home so I have access even if pi-star is at the coffee shop)
- install BPQ as a APRS iGate
Re: SSH session
Posted: Sun Jun 16, 2024 9:54 pm
by KN2TOD
KN2TOD wrote: ↑Mon Mar 27, 2023 1:13 pm
ASSUMING you have access to the Pi-Star Dashboard in a browser:
1) click on the ADMIN selection in the header
2) enter user name (pi-star) and password (raspberry) and hit enter
3) click on CONFIGURATION selection in the header
4) click on EXPERT selection in the header
5) click on the SSH ACCESS in the header
6) enter user name (pi-star) and then password (raspberry)
If you're getting tripped up somewhere in these steps, you'll have to provide more details about your initial setup: what kind of system(s) are you using here and what error messages are appearing, etc.
FWIW: the above steps can be reduced to:
1) open up new browser tab and enter the HS's ip addr postfixed with ":2222" (for example: 192.168.1.70:2222)
2) enter user name (pi-star) and then password (raspberry)
Don't forget that you have to have enabled SSH access (default) in the original configuration of your Pi-Star, and use the appropriate user name and password if you have perchance changed them during that configuration.