11
Cyanite
7y

I need someone who knows how to use 'ssh', to help me make a mockery for my game.

Just need to ask a few questions

Comments
  • 1
  • 1
    @ScribeOfGoD
    I need a simplistic/dumbed down SSH command with only essential command args.

    Login, Version info, etc..

    Also, what ports are commonly used for SSH?
  • 2
    @Cyanite port 22 is used mostly, but can change in the config. What do you mean dumbed down command?

    Login can be done multiple ways, ssh username@serverip, ssh server up address which uses your username on the local machine for login. And to install it's sudo apt-get install openssh-server.
  • 1
    @ScribeOfGoD
    Well, right now I just have; "connect *IP*"

    I'd like something slightly more complicated, but realistic.
    ssh 11.111.111.11 -l root@toor
    (note that I know nothing about real ssh, nor do i have the ability to test anything without desktop internet)
    But I want it to be true(enough) to actual SSH commands. I tried google, but the tutorials are over complicated. I really just want something simple.

    The person will need to pass an IP, User, and password.

    The ability to hack the SSH login will be determined by the version (e.g hacks only work for specific versions) so there needs to be a command to check the version.

    Do note; I can only support '-c', and '--command' style arguments. (this includes toggles (--allowSomething) and values (--user "root") however i could support other things using custom code (such as root@password)
  • 1
    Well to use a different port it is -p portnumber. Maybe you can use that somehow. Have you tried looking on YouTube? That always helps me
  • 1
    @ScribeOfGoD
    I don't need all of the details though.. Like.. How would you login to '11.111.111.11' with the username 'root' and the password 'toor'?
    (also, thanks for -p that'll come in handy)
  • 1
    As far as i know it's hard to use a password in a ssh command. If you can, create an ssh keyfile that way you can just ssh de@tails and it will auto login if your public key on the server matches the private key on your computer
  • 1
    @ScribeOfGoD
    Uhhh... Wut..?
    Can you just make something up that would sound logical?
  • 0
    @Cyanite like private and public keys, you habe your private key, its just that, private, it has a pair, the public key, that you upload to the server in your home dir, if private key == public key then allow login, if private key != public key then deny login
  • 1
    @ScribeOfGoD
    See, I'm just a game developer. I know nothing about any of this lol.

    What would this file look like? Where would it be on the cliant/server?
    What would be in it?
  • 0
  • 1
    @ScribeOfGoD
    Can I seriously just get one person who can just "play pretend" and make something up, or give me a minimal answer and not point me to documention that I do not understand.
  • 0
    @Cyanite it literally tells you what you want though. We're devs, we look at documentation when we do not understand mate. There's plenty of sources that tell you the info you need. I didn't know most of what I know by school or other people, I learned it myself and now am trying to go to school for it :)
  • 1
    @ScribeOfGoD
    I avoid documentation because the mass of words confuses me more..
    I stick to SO, and other devs.
  • 2
    ssh USERNAME@IP -p PORT
    Enter password for USERNAME: (you can't see the characters here, they aren't even masked, there's just nothing printed out here)
    [PRESS ENTER]
  • 1
    @Cyanite could always try user:pass@ip
  • 2
    Here's a very basic command to connect to an SSH server

    ssh username@ip

    The default port is 22 otherwise you can use -p PORT to specify a different port

    With SSH once it connects it will then ask for the on a new line:

    "Password: "

    Hope this helps
  • 1
    @Gatgeagent @Admim
    I can't impliment that kind of password entry. It would lock up Tkinter
  • 2
    @Gatgeagent @Dittoslash @Admim
    Thank you so much though~ ^~^
  • 2
    @Cyanite @Cyanite @Cyanite @Cyanite @Cyanite I guess you could make the user provide --password or -P (notice the capital) to enter the password
Add Comment