Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
ssh is an amazing tool. i cannot imagine how the internet would get done without ssh

post your favorite ssh tips and tricks, or just post about times ssh was good

Adbot
ADBOT LOVES YOU

hifi
Jul 25, 2012

using emacs to edit a file over ssh

burning swine
May 26, 2004



yeah ssh is pretty great i use it errydya ^H^H^H^H^H^H <[[ <[[]133;C;]133;D;0]133\
>
>
> ^c ^c ^c ^c

Arcteryx Anarchist
Sep 15, 2007

Fun Shoe
error: cannot open display: localhost:11.0

The XKCD Larper
Mar 1, 2009

by Lowtax

COACHS SPORT BAR posted:

yeah ssh is pretty great i use it errydya ^H^H^H^H^H^H <[[ <[[]133;C;]133;D;0]133\
>
>
> ^c ^c ^c ^c

Silver Alicorn
Mar 30, 2008

𝓪 𝓻𝓮𝓭 𝓹𝓪𝓷𝓭𝓪 𝓲𝓼 𝓪 𝓬𝓾𝓻𝓲𝓸𝓾𝓼 𝓼𝓸𝓻𝓽 𝓸𝓯 𝓬𝓻𝓮𝓪𝓽𝓾𝓻𝓮
I use ssh to connect to the super dimension fortress

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer
we have to use yubikeys to ssh and it's a pita

GenJoe
Sep 15, 2010


Rehabilitated?


That's just a bullshit word.
post itt if you've messed with the permissions on your cloud server's .ssh folder and perma locked yourself out

...multiple times

SmokaDustbowl
Feb 12, 2001

by vyelkin
Fun Shoe

COACHS SPORT BAR posted:

yeah ssh is pretty great i use it errydya ^H^H^H^H^H^H <[[ <[[]133;C;]133;D;0]133\
>
>
> ^c ^c ^c ^c

MrMoo
Sep 14, 2000

mosh is the dogs nads. Definitely recommended for WiFi or iPhone tethering.

sshfs is pretty drat convenient too.

Asymmetric POSTer
Aug 17, 2005

hifi posted:

using nano to edit a file over ssh

The Management
Jan 2, 2010

sup, bitch?

MrMoo posted:

mosh is the dogs nads. Definitely recommended for WiFi or iPhone tethering.

sshfs is pretty drat convenient too.

mosh is buffer oriented, which is annoying. I wish it could be line oriented. I hate command line apps that take over your scroll buffer.

sshfs badly needs a dynamic reconnecting feature that actually works.

autossh should be built in and not dumb

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

GenJoe posted:

post itt if you've messed with the permissions on your cloud server's .ssh folder and perma locked yourself out

...multiple times

code:
chmod 700 .ssh; chmod 600 .ssh/authorized_keys
ssh is extremely good, you can use it to make a socks proxy

Fuzzy Mammal
Aug 15, 2001

Lipstick Apathy
bump for each time you don't out of band verify the public key when connecting from a new device

hifi
Jul 25, 2012

The Management posted:

mosh is buffer oriented, which is annoying. I wish it could be line oriented. I hate command line apps that take over your scroll buffer.

sshfs badly needs a dynamic reconnecting feature that actually works.

autossh should be built in and not dumb

yeah mosh sucks rear end with bitchx

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer
tell me this isnt the coolest fish you have ever seen



i just noticed, he's actually saying "ssh"

also i posted this using SSH's socks5 proxy

Hed
Mar 31, 2004

Fun Shoe
:ssh::ssh::ssh::ssh::ssh::ssh:

The Management
Jan 2, 2010

sup, bitch?
ssh is cool and good and we would all be using something much dumber without it. thanks OpenSSH

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

The Management posted:

ssh is cool and good and we would all be using something much dumber without it. thanks OpenSSH

telnet :wink:

graph
Nov 22, 2006

aaag peanuts
xforwarding is real neat, op

echinopsis
Apr 13, 2004

by Fluffdaddy
i used to love WASTE is that ssh

Stymie
Jan 9, 2001

by LITERALLY AN ADMIN
ssh is what i say to people who try to talk about computer stuff out loud

JewKiller 3000
Nov 28, 2006

by Lowtax
ssh is fuckin great, but i got some complaints about scp:
- if i say "scp localdir remote:location", scp will log in to the remote machine before erroring out and telling me that localdir is a directory, not a file
- then i try "scp -R localdir remote:location", which fails because scp uses -r, even though cp uses -R. there's no other meaning for -R in scp, it just doesn't work
- if i accidentally type "scp localfile remotehost" and forget a colon at the end, it just silently does a regular local copy with that filename, because i guess that's something i might ever want scp to do?

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

JewKiller 3000 posted:

ssh is fuckin great, but i got some complaints about scp:
- if i say "scp localdir remote:location", scp will log in to the remote machine before erroring out and telling me that localdir is a directory, not a file
- then i try "scp -R localdir remote:location", which fails because scp uses -r, even though cp uses -R. there's no other meaning for -R in scp, it just doesn't work
- if i accidentally type "scp localfile remotehost" and forget a colon at the end, it just silently does a regular local copy with that filename, because i guess that's something i might ever want scp to do?

i regularly rsync single files

Helianthus Annuus
Feb 21, 2006

can i touch your hand
Grimey Drawer

Helianthus Annuus posted:

i regularly rsync single files

:goonsay:

echinopsis
Apr 13, 2004

by Fluffdaddy
lol

skimothy milkerson
Nov 19, 2006

$ ssh MALE SHOEGAZE@COMEDY GAS CHAMBER

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

Skim Milk posted:

$ ssh MALE SHOEGAZE@COMEDY GAS CHAMBER

wish i could vote this post a 1

JewKiller 3000
Nov 28, 2006

by Lowtax

RISCy Business posted:

wish i could vote this post a 1

wish i could vote your account a 1

Agile Vector
May 21, 2007

scrum bored



graph posted:

xforwarding is real neat, op

agreedo :blush:

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

JewKiller 3000 posted:

wish i could vote your account a 1

i regularly concern myself with what something awful forums poster JewKiller 3000 thinks of me

Shaggar
Apr 26, 2006
alias ssh to ssh-copy-id root@$host; ssh root@$host

JewKiller 3000
Nov 28, 2006

by Lowtax

Shaggar posted:

ssh-copy-id

ooh didn't realize there was already a thing for this, i always used my own script

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
sshut up

Pile Of Garbage
May 28, 2007



Helianthus Annuus posted:

i regularly rsync single files

rsync is garbage

Hugh G. Rectum
Mar 1, 2011

im using scp RIGHT NOW op, it's pretty great

secondary shoutout to screen/tmux without which ssh would be way worse

Moo Cowabunga
Jun 15, 2009

[Office Worker.




ssh made normies use the internet more and now the world has turned to poo poo thanks ssh

Pile Of Garbage
May 28, 2007



normies using ssh was only a by-product of them trying to janitor their turbo-garbage web servers. PHP and its ilk is the real bastard here

There Will Be Penalty
May 18, 2002

Makes a great pet!

cheese-cube posted:

rsync is garbage

:wrong:

Adbot
ADBOT LOVES YOU

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

cheese-cube posted:

rsync is garbage

ban

  • Locked thread