How to SSH on alphine linux with iSH on ipad?
2
votes
1
answer
14724
views
Iam trying out linux on Ipad through the iSH app, however, i cant seem to find my username it always returns 'root' when i do whoami. So now iam confused how I can ssh into another computer or even how to ssh into my ipad, as Ive tried multiple commands to find my ip on the ipad however it just doesnt work.
e.g I try ifconfig -a but its shows /proc/net/dev: No such file or directory.
curl ifconfig.me works for the public ip, but i need the host ip for ssh which doesnt show me.
Another example :
Mathewss-iPad:~# hostname -I
hostname: unrecognized option: I
BusyBox v1.31.1 () multi-call binary.
Usage: hostname [OPTIONS] [HOSTNAME | -F FILE]
Get or set hostname or DNS domain name
-s Short
-i Addresses for the hostname
-d DNS domain name
-f Fully qualified domain name
-F FILE Use FILE's content as hostname
issues:
Can't SSH into our out to any devices because:
1. Cant find hostname just 'root'
2. Cant retrieve host ip address
3. But everything works as normal in linux apk installing packages, making folders, changing directories etc.
Asked by Mj _
(21 rep)
Sep 14, 2021, 09:30 AM
Last activity: Jul 23, 2025, 02:03 AM
Last activity: Jul 23, 2025, 02:03 AM