GithubHelp home page GithubHelp logo

SSH Server about ish HOT 7 CLOSED

nonphiksion avatar nonphiksion commented on July 2, 2024
SSH Server

from ish.

Comments (7)

Mnpn avatar Mnpn commented on July 2, 2024 1

You can create a new user by using adduser and then switch to this user by holding down the settings button in iSH for a few seconds, scrolling down, and changing the root in the launch command. You'll probably also want to install sudo, and add your new users to the sudoers file.

You cannot currently change your hostname in iSH, but you can use your device's name when SSHing, like [email protected], e.g. [email protected].

from ish.

Mnpn avatar Mnpn commented on July 2, 2024 1

Easiest way would probably be to add a usernamehere ALL=(ALL) ALL line to /etc/sudoers

from ish.

nonphiksion avatar nonphiksion commented on July 2, 2024

I understand that the ssh server username for my Ubuntu machine is not root, but rather dell, and the hostname is the name of the machine itself. I was hoping that I could change the server username using the ish app on my iPhone. That is, I created another server with the ish app, and it's the username I wish to change from root.

I tried creating a config file within the directory .ssh from the root directory, but to no avail.

from ish.

nonphiksion avatar nonphiksion commented on July 2, 2024

Wow, thank you. Please, how do I add the new user to the sudo file?

from ish.

nonphiksion avatar nonphiksion commented on July 2, 2024

Alright. Thank you so much!

from ish.

Mnpn avatar Mnpn commented on July 2, 2024

Cheers, no problem!

from ish.

nikeedev avatar nikeedev commented on July 2, 2024

Easiest way would probably be to add a usernamehere ALL=(ALL) ALL line to /etc/sudoers

Based on this website: https://wiki.alpinelinux.org/wiki/Setting_up_a_new_user, alpine uses something else called doas instead of sudo.

@nonphiksion

from ish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.