#oh wait so I need to add this to a hosts
1 messages ยท Page 1 of 1 (latest)
No. You missed the -i in front of the key file path so it thinks it's a hostname
yeah
you were right
and in it deferring to next auth (pass) as well
says next auth method: password
so it deferred to it
Can you show the whole output? Also check the logs for the SSH server on windows
Im having trouble copypasta to and fro the terminal
(is why I had to paste the image above)
I would have just pasted the whole text otherwise
Use putty instead of the web site to connect to the addon's SSH server ๐
that sounds familliar but cant put my finger on it
can't I just give it a password in the string
๐
Apparently it's not so simple if you google for it
sorry you lost me there
you probably gathered I don't know ssh for shit
this is where I am currently: I know I have to let the hosts file know the key
I don't know where to find it
Search for ssh give password on commandline. Apparently it's not as trivial as it sounds. Not sure why
yeah
still asks for password
everytime
for everything
there's no getting around it
I need to see the command output
I tried to
[aste but it wont let me
there's a whole wall of text
I was going through it tryin to find a screen at least
otherwise I'd have to paste 3 screens
I really didn't wanna change the initial rsa
I am using the same key for other stuff
wanted to keep it
tried passh
and sshpass
didnt work
why does it want a password if I ive given it a key though
"we sent a packet wait for reply
received type 51
auth that can continue:
pasword public key etc
I think this is the gist
type 51
ok Im talking to myself
sorry to have wasted your time ๐ฆ
Sorry I can't always immediately respond. Paraphrasing the output won't help
no sorry, Im not anxious, just didn't know
I would have pasted but theres 3 screens
permissions 0644
how do I give it the ones it wants?
maybe this would be easier
IDK
Are we talking about windows now or? I never saw the permission message
I presume the permissions are for the folder containing the rsa key
which is on linux
You shouldn't modify the config folder directly but you can create a new one (mldir /config/.ssh) and chmod 600 /config/.ssh that one instead
But again, I'm lacking a lot of context so I'm basically just telling you how to do what you think you should do. Whether it is what you should do ๐คท
chmod 600 /config/pwless
that was my last command
but it returned nothing
*pwless is the name Ive given the folder
Check the permissions with ls -l /config/pwless but it's normal to not return anything
Use something like this to make sense of it: https://nettools.club/chmod_calc
thanks
you're very kind to put up with me
yeah now it doesn't say bad permissions BUT it still asks for a password
=))
(ran the command from before, the initial one, that is)
-only adjusted to the new situation
it worked after giving it the pass
jsyk
it just wants the password, every time
Please use putty to connect to the addon via SSH, then paste me the ouput. You should also check the logs for the SSH server. You might have to google how to increase its verbosity though
The SSH addon you use can listen on port 22
ok
You can set a password for it
s6-rc: info: service legacy-services successfully started
[03:34:50] WARNING: SSH port is disabled. Prevent start of SSH server.
thats what the addon says now
Set one. 22 is default
why doesnt this shit let me just copypaste from it?
I always had this problem
the terminal doesnt let me copy paste
it's so frustrating
No idea. In putty you just select
the most basic thing, why dont they make it default
yeah I figured thats why it needed
yeah now my terminal is broken
do you know how to give it the password to the target machine via the command line?
this would eliminate the need for all the jumping through hoops
it wouldnt be elegant, sure
Like I said, google for it and you'll see it's apparently not trivial
but it would get the job done
oh
thats what you meant then
sorry, guess Im really tired
Everyone refers to sshpass software instead
I misinterpret things
SSH keys are usually simple to use but without the logs I can't really help
am still in putty looking where to input the key
As long as you learn something it's fine to me
But I'm mobile right now and constantly switching apps is tiring and I get nothing done
its fine, take care
yaaayy it let me in without a pass, just using the initial key after I set the preferences in the guide youve shown me
shit, it worked straight up (the button in HA)
so basically just needed to set the permissions on the actual key instead of the config folder
when I reinstalled
setting the right permissions made the command work
Yay
thanks a lot man!!
No problem
your time wasnt wasted , for realz
I never said it was