What about a firewall on your non-working PC blocking connections to the server?

|
ArticOcean 2022-07-31 21:11:05
C0rn3j 2022-07-31 20:13:44
Why don’t you try?

Ya, i tried.
╰─ ls -l
total 0
–w-r–r– 1 noname noname 0 Jul 31 20:09 abcd.txt
—-r–r– 1 noname noname 0 Jul 31 20:09 abc.txt
Right as i expected..

ArticOcean 2022-07-31 21:14:01
Can anyone who know termux tell me this:
This line below.. it says: “therefore you need to put your OpenSSH public key into the ~/.ssh/authorized_keys file.” , does that refer to on linux pc or on android ?

I asked because i saw there is ~/.ssh/authorized_keys file in android termux home directory as well
However i suspect the authur refers to Linux PC when he mentioned : ~/.ssh/authorized_keys file .. , because he said “You can’t do password authentication in Termux,”
————————————
URL ref:
https://glow.li/posts/run-an-ssh-server-on-your-android-with-termux/

Adding your Public key
You can’t do password authentication in Termux, therefore you need to put your OpenSSH public key into the ~/.ssh/authorized_keys file.
————————————

JF049 2022-07-31 21:16:07
Each participant should have a public/private key pair
ArticOcean 2022-07-31 21:28:41
However After reading this, i believe it refers to on android in termux, since it says “ssh localhost …”
————————————————————
URL ref:
https://glow.li/posts/run-an-ssh-server-on-your-android-with-termux/

Then you can test it by connecting to your ssh service

# -i $PATH_TO_FILE/filename is only required if the id_rsa file is not ~/.ssh/id_rsa
ssh localhost -p 8022 -i %PATH_TO_KEY-FILE%/%NAME_OF_KEY%
————————————————————–

Padra7 2022-07-31 21:35:38
ArticOcean 2022-07-31 21:14:01
Can anyone who know termux tell me this:
This line below.. it says: “therefore you need to put your OpenSSH public key into the ~/.ssh/authorized_keys file.” , does that refer to on linux pc or on android ?

I asked because i saw there is ~/.ssh/authorized_keys file in android termux home directory as well
However i suspect the authur refers to Linux PC when he mentioned : ~/.ssh/authorized_keys file .. , because he said “You can’t do password authentication in Termux,”
————————————
URL ref:
https://glow.li/posts/run-an-ssh-server-on-your-android-with-termux/

Adding your Public key
You can’t do password authentication in Termux, therefore you need to put your OpenSSH public key into the ~/.ssh/authorized_keys file.
————————————

You should add client’s key in server’s authorized_keys file. Which in your case means you copy ~/.ssh/id_rsa.pub from your PC then you paste it in ~/.ssh/authorized_keys in termux.

ArticOcean 2022-07-31 21:43:26
Padra7 2022-07-31 21:35:38
You should add client’s key in server’s authorized_keys file. Which in your case means you copy ~/.ssh/id_rsa.pub from your PC then you paste it in ~/.ssh/authorized_keys in termux.

OIC, i have done it all wrong. i run the keygen on android and paste the public key generated on android into authorized_keys file in android itself.. that’s why what i did didn’t make sense.. but what you explained make sense.. Thanks.
btw, just to funny. But since i have generated the keypair:
abc and abc.pub on android
can i just copy the abc (private key file into laptop ~/.ssh folder) and expect the connection to work AS WELL ?

Padra7 2022-07-31 21:45:19
ArticOcean 2022-07-31 21:43:26
OIC, i have done it all wrong. i run the keygen on android and paste the public key generated on android into authorized_keys file in android itself.. that’s why what i did didn’t make sense.. but what you explained make sense.. Thanks.
btw, just to funny. But since i have generated the keypair:
abc and abc.pub on android
can i just copy the abc (private key file into laptop ~/.ssh folder) and expect the connection to work AS WELL ?

Why don’t you just run keygen on your PC? What you’re saying is harder and doesn’t make any sense IMO

ArticOcean 2022-07-31 21:46:02
Padra7 2022-07-31 21:45:19
Why don’t you just run keygen on your PC? What you’re saying is harder and doesn’t make any sense IMO

Yes, i understood what you said. But i said “just to be funny” , does it actually also work?

C0rn3j 2022-07-31 21:46:12
ArticOcean 2022-07-31 21:46:02
Yes, i understood what you said. But i said “just to be funny” , does it actually also work?

Why don’t you try?

ArticOcean 2022-07-31 21:46:17
shld work as well right ?
Padra7 2022-07-31 21:46:27
ArticOcean 2022-07-31 21:46:17
shld work as well right ?

https://t.me/archlinuxgroup/603257

ArticOcean 2022-07-31 21:46:36
i mean as long as both side .ssh folder has the right key, they should work
ArticOcean 2022-07-31 21:47:13
Padra7 2022-07-31 21:46:27
https://t.me/archlinuxgroup/603257

what’s that link ? does not work

Padra7 2022-07-31 21:47:40
ArticOcean 2022-07-31 21:47:13
what’s that link ? does not work

It points to Martin’s message.

Padra7 2022-07-31 21:47:50
Just try it
ArticOcean 2022-07-31 21:48:33
oh. haha.. ya.. for the fun sake. i will try. but u guys should also know the result right ? ..
Padra7 2022-07-31 21:50:15
ArticOcean 2022-07-31 21:48:33
oh. haha.. ya.. for the fun sake. i will try. but u guys should also know the result right ? ..

Personally IDK but I guess it’s gonna work.

C0rn3j 2022-07-31 21:50:18
ArticOcean 2022-07-31 21:48:33
oh. haha.. ya.. for the fun sake. i will try. but u guys should also know the result right ? ..

How is this related to Arch Linux again?

ArticOcean 2022-07-31 21:50:34
oh ya.. ;p
ArticOcean 2022-07-31 21:50:46
got too carried away.
twrsch 2022-07-31 22:09:46
archlinuxgroup-603269.jpg
Aight, so I have a shitty HP LaserJet printer. I have set up a homeserver and plugged that thing in with USB, done cups and stuff, it worked there, after some fiddling I have managed to add it to Windows and print from there as well, but I can, for the irony of it, add it to my PC. .0.10 is my server and whatever you need to know is on the screenshot
twrsch 2022-07-31 22:10:09
Yes, I have tried both Gutenberg and hpcups drivers, no luck
twrsch 2022-07-31 22:10:47
And no, it does not require a plugin
jonathn 2022-07-31 22:11:07
Firewall?
twrsch 2022-07-31 22:15:46
jonathn 2022-07-31 22:11:07
Firewall?

Nope, it works on windows laptop

twrsch 2022-07-31 22:18:41
BTW, the same printer used to work plugged directly to my pc
jonathn 2022-07-31 22:49:28
twrsch 2022-07-31 22:15:46
Nope, it works on windows laptop

What about a firewall on your non-working PC blocking connections to the server?

twrsch 2022-07-31 23:36:58
jonathn 2022-07-31 22:49:28
What about a firewall on your non-working PC blocking connections to the server?

None

C0rn3j 2022-07-31 23:42:14
archlinuxgroup-603283.jpg

C0rn3j 2022-07-31 23:42:39
TIL Manjaro == Arch
I’ve been wrong all this time, thanks Valve.
unboundvariable 2022-07-31 23:42:52
manjarobtw
ktheticdev 2022-07-31 23:43:28
unboundvariable 2022-07-31 23:42:52
manjarobtw

sucks btw

ktheticdev 2022-07-31 23:43:48
(j/k tho)
PuzzDio 2022-07-31 23:43:50
C0rn3j 2022-07-31 23:42:39
TIL Manjaro == Arch
I’ve been wrong all this time, thanks Valve.

TMW they dont realise steamdeck runs a slightly different version of proton and certain other libs valve have individually tweaked for steamOS

unboundvariable 2022-07-31 23:43:52
can’t argue with that
|