You are not logged in.
I'm trying to install Arch on my laptop. I'm on a local network. Here's what I've done on my laptop.
Booted up on a usb-stick with Arch ISO
set a root password (passwd)
allow ssh root login (nano /etc/ssh/sshd_config)
Removed hash sign from port 22 and PermitRootLogin yes
enable sshd (systemctl enable sshd)
enable systemd-networkd (systemctl enable systemd-networkd.service)
Reboot my laptop and execute following command:
ip addr show
And it says
inet 192.168.1.127/24 brd 192.168.1.255 scope global dynamicenp0s25"
From my desktop, I execute the following command in a terminal:
ssh root@192.168.1.127
Then I be told the following:
ssh: connect to host 192.168.1.127 port 22: Connection refused
Then I try to ping
ping 192.168.1.127
PING 192.168.1.127 (192.168.1.127) 56(84) bytes of data.
64 bytes from 192.168.1.127: icmp_req=1 ttl=64 time=0.463 ms
64 bytes from 192.168.1.127: icmp_req=2 ttl=64 time=0.460 ms
64 bytes from 192.168.1.127: icmp_req=3 ttl=64 time=0.491 ms
64 bytes from 192.168.1.127: icmp_req=4 ttl=64 time=0.460 ms
^C
--- 192.168.1.127 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3020ms
rtt min/avg/max/mdev = 0.460/0.468/0.491/0.025 ms
It's going well. What am I doing wrong?
Last edited by Snubbi (2021-01-09 12:55:08)
"Do not judge me by my successes, judge me by how many times I fell down and got back up again." - Nelson Mandela
Offline
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
all thats needed is to boot the live iso, add a root password, and start sshd
passwd
systemctl start sshd
thats it, and i guess find out the ip address to connect to
ip addr
then ssh away, ezpz
Offline
I found the solution, I did not reboot, and did the following
set a root password (passwd)
allow ssh root login (nano /etc/ssh/sshd_config)
Removed hash sign from port 22 and PermitRootLogin yes
enable sshd (systemctl enable sshd)
enable systemd-networkd (systemctl enable systemd-networkd.service)
systemctl start sshd
I forgot systemctl start sshd
[carl@andersen: ~]$ ssh root@192.168.1.130
root@192.168.1.130's password:
To install Arch Linux follow the installation guide:
https://wiki.archlinux.org/index.php/Installation_guide
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
Ethernet and Wi-Fi connections using DHCP should work automatically.
After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.
Last login: Sat Jan 9 12:46:05 2021 from 192.168.1.147
root@archiso ~ #
I am happy now
"Do not judge me by my successes, judge me by how many times I fell down and got back up again." - Nelson Mandela
Offline