Need help connecting to my orangepi

on my desktop first try

dhcpv6-client mdns samba-client ssh
usage: 'firewall-cmd --help' for usage information or see firewall-cmd(1) man page
firewall-cmd: error: ambiguous option: --list could match --list-all-zones, --list-all-policies, --list-lockdown-whitelist-commands, --list-lockdown-whitelist-contexts, --list-lockdown-whitelist-uids, --list-lockdown-whitelist-users, --list-interfaces, --list-sources, --list-ingress-zones, --list-egress-zones, --list-rich-rules, --list-services, --list-ports, --list-protocols, --list-icmp-blocks, --list-forward-ports, --list-source-ports, --list-all
usage: 'firewall-cmd --help' for usage information or see firewall-cmd(1) man page
firewall-cmd: error: unrecognized arguments: -get-services

trying again with chatgpt

Because these outputs didn’t make sense I copied the body had chatgpt read through it

dhcpv6-client mdns samba-client ssh
sudo firewall-cmd --list-ports                                                                                                                                                                   (base) 
1025-65535/tcp 1025-65535/udp

ran it ssh shows up in the list, but not sshd

Warning: ALREADY_ENABLED: ssh
success
sudo firewall-cmd --permanent --add-port=22                                                                                                                                                      (base) 
Error: INVALID_PORT: bad port (most likely missing protocol), correct syntax is portid[-portid]/protocol
sudo firewall-cmd --reload                                                                                                                                                                       (base) 
success
sudo systemctl start firewalld                       (base) 
1 Like