mirror of
https://github.com/Crosse/sshsrv.git
synced 2026-04-25 11:55:50 +03:00
[GH-ISSUE #6] sshsrv on Android ? (With Termux ?) #4
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sshsrv#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @axoroll7 on GitHub (Dec 30, 2022).
Original GitHub issue: https://github.com/Crosse/sshsrv/issues/6
Hello,
I was able to install this program on Android. But the installation, without tutorial, take me some time to be completed. Maybe you could add instructions for Android, for people who do not know how to do it ?
My steps :
pkg install golang.go install github.com/Crosse/sshsrv@latest."$(go env GOPATH)/bin/sshsrv", and it worked, showing the package was correctly installed.printf "\n\n#begin golang\nexport GOPATH=\"\$(go env GOPATH)\"\nexport PATH=\"\$PATH:\$GOPATH/bin\"\n#end golang\n\n" >> ~/.bashrc, and sshsrv was effectively added to the PATH. I was able to use sshsrv in Termux.In my opinion, many developers would feel safer knowing they can access their server with their mobile. Maybe, adding these steps in a separate wiki, or in the README, could help some people.
@Crosse commented on GitHub (Jan 4, 2023):
I don't know a lot about the Android platform, but if the
unamecommand reports that it's arm64, could you try installing the binary from the releases page? The direct link to the arm64 version is here. I have no idea if it'll work, but it's worth a shot.Thanks for all the info! I'll see about incorporating it into the README somehow.
@axoroll7 commented on GitHub (Jan 5, 2023):
You are right, it worked. The script :
EDIT : The command "install" does what "mkdir -p" and "chmod +x" do. "zcat" decompresses the first file in the zip file. "ln" create a symlink, to put the executable in the PATH. "hash -r" refreshes the PATH.
@axoroll7 commented on GitHub (Feb 28, 2023):
I think the issue is completed. Thank you for your help !
sshsrv username@example.com#3