Reputation
469
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 10
Newest
 Yearling
Impact
~6k people reached

  • 0 posts edited
  • 0 helpful flags
  • 15 votes cast
Jul
10
answered How to extract file contents and pass in as command line parameters in Linux?
Jul
8
comment SSHing into VPS with single IP
This is very similar to this [question][1]. [1]: superuser.com/questions/922713/…
Jul
8
answered Deleting specific folders recursively
Jul
2
answered How can I allow my regular user to chown files, via setfacl?
Jun
30
answered Symbolic link on a USB stick automatically adding extra characters upon opening
Jun
4
comment Gateway Server Jump Bastion Host Local Setup
Nope. You can't put env variables in the .ssh/config. You could just manually run LC_PAPER=private ssh private. If you use a Host * block at the end of .ssh/config you would only need 1 entry. BTW, why can't you just have multiple private/public keys? It would be much easier.
Jun
3
comment Gateway Server Jump Bastion Host Local Setup
I updated my answer to address that.
Jun
3
revised Gateway Server Jump Bastion Host Local Setup
Added answer to follow up question
Jun
2
answered Gateway Server Jump Bastion Host Local Setup
Jun
2
revised Copy linux directory into another one - delete contents
new answer based on editted question
Jun
2
comment Copy linux directory into another one - delete contents
Still confusing. For example you have two "againfile.cfg" files in the same directory (css_server_1/cstrike/cfg/).
Jun
2
comment Client not connecting to port running openssl s_server
For the record, /dev/tcp is not a real directory. From man bash: /dev/tcp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, bash attempts to open a TCP connection to the corresponding socket.
Jun
1
comment Client not connecting to port running openssl s_server
Looks like your serverHost is blocking port 4433. Try timeout 1 bash -c 'cat < /dev/null > /dev/tcp/serverHost/4433' && echo "port is blocked" || echo "port is blocked"
Jun
1
answered Copy linux directory into another one - delete contents
Apr
16
comment script to su with password in script without root
The -t is for ssh, not su. If forces a pseudo-tty so that su can read the password from stdin.
Jan
15
comment How to get an unused (on another host) IP range
Using a private address space doesn't guarantee that the address isn't being used which is what the OP asked about.
Jan
15
revised How to get an unused (on another host) IP range
added 423 characters in body
Jan
15
comment How to get an unused (on another host) IP range
The OP said it will always be point-to-point, so for most NICs, that means you need to use a 169.254.0.0/16 address.
Jan
15
answered How to get an unused (on another host) IP range
Jan
15
comment Can ping but can't connect (curl, wget, apt-get, etc.) (rasberry pi server)
post your pi's iptables and your router's configuration.