{"id":28335076,"url":"https://github.com/rishabhrpg/sshd-in-termux","last_synced_at":"2025-07-20T07:33:55.415Z","repository":{"id":162877674,"uuid":"328434651","full_name":"rishabhrpg/sshd-in-termux","owner":"rishabhrpg","description":"SSH Into Termux","archived":false,"fork":false,"pushed_at":"2021-01-10T17:20:37.000Z","size":2,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T02:38:15.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishabhrpg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-10T17:03:26.000Z","updated_at":"2024-07-31T14:53:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c6b3759-e576-44d3-a84e-a24cfba478c5","html_url":"https://github.com/rishabhrpg/sshd-in-termux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishabhrpg/sshd-in-termux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabhrpg%2Fsshd-in-termux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabhrpg%2Fsshd-in-termux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabhrpg%2Fsshd-in-termux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabhrpg%2Fsshd-in-termux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabhrpg","download_url":"https://codeload.github.com/rishabhrpg/sshd-in-termux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabhrpg%2Fsshd-in-termux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264981182,"owners_count":23692817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-26T21:55:13.641Z","updated_at":"2025-07-20T07:33:55.408Z","avatar_url":"https://github.com/rishabhrpg.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH Into Termux (SSHD)\nScripts and notes for setting up and using SSHd on your Android device using Termux so that you can SSH, SFTP, and SSHFS to your Android\n\n# On your AndroidOS device \n  Install Termux (https://termux.com/)\n  \n  Launch Termux\n  \n  Enter these commands (In Android)\n  \n     \u003e apt update \n     \n     \u003e apt upgrade\n     \n     \u003e termux-setup-storage\n     \n     \u003e apt install openssh\n     \n     \u003e touch ~/.ssh/authorized_keys\n     \n     \u003e chmod 600 ~/.ssh/authorized_keys\n     \n     \u003e chmod 700 ~/.ssh\n     \n     \u003e ssh-keygen\n     \n     \u003e cat ~/.ssh/id_rsa.pub \u003e\u003e ~/.ssh/authorized_keys\n     \n     \u003e chmod 600 ~/.ssh/authorized_keys\n\t \t \nIn your remote device \n\n     ssh-keygen ( if you don't already have a ssh key-pair )\n     \n     cat id_rsa.pub\n    \ncopy everything from the output and send it to Android Device now the content needs to be pasted into `~/.ssh/authorized_keys` inside termux.\nNow do `sshd` in termux to start the server.\n\n# To SSH into Android from the Remote Host\n\n   Type this command from within a Terminal\n\n     \u003e ssh -p 8022 IPofYourAndroid \n\n# To SFTP into Android from the Remote Host\n\n  Type this command from within a Terminal\n\n    \u003e sftp -P 8022 IPofYourAndroid \n    \n## References\n(https://github.com/tomhiggins/TermuxSSHDsetup)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabhrpg%2Fsshd-in-termux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabhrpg%2Fsshd-in-termux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabhrpg%2Fsshd-in-termux/lists"}