Username: 
Password: 
Restrict session to IP 

Bashrc SSH/config need help

Global Rank: 3878
Totalscore: 4945
Posts: 2
Thanks: 2
UpVotes: 2
Registered: 9y 22d
Last Seen: 3y 151d
The User is Offline
Bashrc SSH/config need help
Google/translate1Thank You!1Good Post!0Bad Post! link
So there is something you can do to automate the wechall scoring thing and I have been trying to figure out how to edit my ~/.bashrc file and ~/.ssh/config file and CANNOT figure it out and all I have to go by is this

http://overthewire.org/about/wechall.html

Could anyone explain to me in detail how to go about setting this up? It would be very appreciated.
Thanks in advance.

~BigSnipes
Global Rank: 154
Totalscore: 125298
Posts: 18
Thanks: 29
UpVotes: 19
Registered: 10y 118d
b1nary`s Avatar



Last Seen: 1y 266d
The User is Offline
RE: Bashrc SSH/config need help
Google/translate4Thank You!5Good Post!0Bad Post! link
yeah this step is kinda annoying but its really easy

im using debian systems (ubuntu and kali 2) so it was easy
edit the ~/.bashrc , i used nano so it was " nano ~/.bashrc " in terminal and i just scroll down to the bottom and add both lines

export WECHALLUSER="BigSnipes" --> example for ur login
export WECHALLTOKEN="FAKE-TOKEN-ASDA" --> your token

and yes it has to have the quotes

and for the other file " nano ~/.ssh/config" in my case the file didnt even exist , so i just created it and added the following content
Host *.labs.overthewire.org
SendEnv WECHALLTOKEN
SendEnv WECHALLUSER

finally just connect to the level you are on overthewire and just type wechall and it should say something about score updated Smile
if it does show an error just post it here
Global Rank: 3878
Totalscore: 4945
Posts: 2
Thanks: 2
UpVotes: 2
Registered: 9y 22d
Last Seen: 3y 151d
The User is Offline
RE: Bashrc SSH/config need help
Google/translate1Thank You!1Good Post!0Bad Post! link
OH MY LORD thank you so very much!!!!! lol. Im using kalo 2.0 myself. You have been a great big help. Thanx again!!!
Global Rank: 2427
Totalscore: 9888
Posts: 1
Thanks: 1
UpVotes: 0
Registered: 9y 5d
MouseBlock`s Avatar

Last Seen: 3y 305d
The User is Offline
RE: Bashrc SSH/config need help
Google/translate1Thank You!0Good Post!0Bad Post! link
Thanks
Global Rank: 1452
Totalscore: 17959
Posts: 1
Thanks: 1
UpVotes: 1
Registered: 7y 322d
alibaba`s Avatar


Last Seen: 6y 245d
The User is Offline
RE: Bashrc SSH/config need help
Google/translate1Thank You!1Good Post!0Bad Post! link
amigo podrias colaborarme tengo el mismo problema, realice los pasos y no me funciono



Solucionado

estaba editando el archivo ssh_config y era el archivo del cliente : sshd_config agregando los permisos

Saludos
Last edited by alibaba - Jan 19, 2017 - 19:05:56
Global Rank: 9934
Totalscore: 528
Posts: 1
Thanks: 1
UpVotes: 1
Registered: 4y 145d
Last Seen: 4y 134d
The User is Offline
RE: Bashrc SSH/config need help
Google/translate1Thank You!1Good Post!0Bad Post! link
Guys i have problem with the same, but when i create config file, looking just like:
Host *.labs.overthewire.org
SendEnv WECHALLTOKEN
SendEnv WECHALLUSER

It looks just like up here, I'm not sure if in place of star shouldn't be bandit or in host something else, and when i try with this config file to log on bandit site i have message
about bad owner or permission in this file. When I remove it I can log on.
I will be very thankful for help. I'm fully new, and from two days can't synchronize overthewire with wechall Sad
Global Rank: 1
Totalscore: 759065
Posts: 437
Thanks: 496
UpVotes: 469
Registered: 15y 130d












The User is Offline
RE: Bashrc SSH/config need help
Google/translate1Thank You!2Good Post!0Bad Post! link
Quote from YoungPadawan2020
when i try with this config file to log on bandit site i have message about bad owner or permission in this file. When I remove it I can log on.


https://lmgtfy.com/?q=Bad+owner+or+permissions

Also, on WeChall, if you go to Account, then WarBoxes it shows you some other methods that should also work if you still cannot get it to work.
tunelko, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, csuquvq have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 33781 times.