8,424 reputation
54079
bio website
location
age
visits member for 4 years, 6 months
seen 19 hours ago

Jan
23
comment How to use SSH “dynamic forward” (-D) to apt-get update/install on a box behind a VPN? Is it possible?
The problem he has with ssh -D is it is local.. and his problem is local. I don't understand the other problem with it about MITM? I think maybe an http/https proxy would work.. but there's no -R with -D. So maybe if he does SSH -D on the remote computer, then on the local computer, does SSH -L forwarding to that. Then (no hosts file) he needs to get apt-get to use that local ip:port which will forward to the proxy.
Jan
23
comment How to use SSH “dynamic forward” (-D) to apt-get update/install on a box behind a VPN? Is it possible?
I am aware of what SSH -D does. The problem with your workaround is it only works for one site or n tunnels work for n sites but he has to know what sites or he has to make many tunnels and there may be I don't know, 20 sites. So is there any solution you can think of, let's say without SSH -D, that works for whatever site. (besides an unwritten program to see what host apt-get wants to or would want to resolve, and create all the tunnels and 127.0.0.1 entries for them)
Jan
22
comment How to use SSH “dynamic forward” (-D) to apt-get update/install on a box behind a VPN? Is it possible?
to elaborate on your solution, but then to ask you a question, so apt-get tries to connect to get.docker.com:443 ends up connecting to 127.0.0.1:443 then to the uncaged machine, which connects properly to get.docker.com:443 so ssh becomes rather like a transparent proxy in its tcp remapping.. interesting. But what if he has different sites apt-get wants to access? is there an SSH -D form that'd sort that, or some workaround?
Jan
22
revised How to add PEM file as SSH private key to “known hosts”
edited tags
Jan
22
revised How to add PEM file as SSH private key to “known hosts”
added 802 characters in body
Jan
22
comment How to add PEM file as SSH private key to “known hosts”
Also, since the public key comes from the private key, it may be that that command will do it, as they should already have the public key if they're giving you a private key. So you won't have to add the public key to authorized_keys on their computer as it'd already be there.
Jan
22
comment How to add PEM file as SSH private key to “known hosts”
@smeeb I don't know about openstack so much, but you can do e.g. ssh -i ~/.ssh/id_rsa bodhi@ssh.server.com or as the openstack site says docs.openstack.org/user-guide/content/ssh-into-instance.html $ ssh -i MyKey.pem ubuntu@10.0.0.2 So whatever the name of the private key file is, and wherever it is stored, you specify that when doing ssh -i
Jan
22
revised How to add PEM file as SSH private key to “known hosts”
deleted 23 characters in body
Jan
22
comment How to add PEM file as SSH private key to “known hosts”
@smeeb why is somebody giving you their private key? their private key is meant to be private to them.
Jan
22
answered How to add PEM file as SSH private key to “known hosts”
Jan
22
comment How to set up tinyproxy if have a dynamic ip adress?
This isn't specific to tinyproxy.
Jan
22
comment Tinyproxy setting to allow all ip connect?
@DanielB I hadn't noticed seems have asked two questions.. superuser.com/questions/868148/…
Jan
22
comment Tinyproxy setting to allow all ip connect?
@EricF actually it's a pretty bad idea to have ALL questions on a program inside one question(which is what you write that he should do when you write "Should probably have all questions about Tinyproxy within one question."). I think what you are trying to say is the OP posted two questions - this one and this one superuser.com/questions/868148/… and he should combine them into one. (i'd suggest he explain what this problem is and states any errors he gets).
Jan
22
comment How to set up tinyproxy if have a dynamic ip adress?
for security some people use ssh and tunnel connections through that. Another option is if not that many IPs connect, then within the firewall restrict the IPs that can connect. Those solutions require figuring out the firewall or figuring out ssh.
Jan
22
comment Sony VAIO VGN-SZ240P Laptop Fan Control?
@NiklasRosencrantz this is a bit late but see daniel hick's answer
Jan
22
comment Batch file to copy files&folders structure one by one, verify the result and save the report to txt
you can also do dir /a-d/s and you will get all files listed with their sizes. Do that at the dest, and you will see if all the files are at the dest, and the size isn't funny e.g. size isn't 0 bytes or all sizes are within what you expect. What i'm suggesting doesn't involve a batch file though. Just a copy command and one or two commands after to check that it copied. And you could use "beyond compare" too or any folder sync program to check.
Jan
22
revised Batch file to copy files&folders structure one by one, verify the result and save the report to txt
added 19 characters in body
Jan
22
comment Batch file to copy files&folders structure one by one, verify the result and save the report to txt
try whatever to do the copy, and then use "Beyond Compare" to compare the source and dest. I don't see how making a log of the copy will help you, as you're not going to want to read through it all. So I suggest a program to check the src and dst are the same in content and structure.
Jan
22
reviewed Approve Batch file to copy files&folders structure one by one, verify the result and save the report to txt
Jan
21
comment Cannot access BIOS after installing a Linux distro
no idea what caused it, maybe an electronic fault with the laptop, but how about you flash the bios?