https://github.com/vi/websocat/releases
websocat -E -b tcp-l:127.0.0.1:2288 ws://example.com/websocat
ssh -i ~/.ssh/id_ecdsa -p 2288 -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@localhost
Host websocat
HostName localhost
User root
IdentitiesOnly yes
IdentityFile ~/.ssh/id_ecdsa
Port 2288
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
then just
ssh websocat
spec:
containers:
- name: download
image: nnurphy/or
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
volumeMounts:
- mountPath: /srv
name: pub
- mountPath: /root/.ssh/authorized_keys
name: pubkey
subPath: authorized_keys
env:
- name: WS_FIXED
value: '1'
volumes:
- name: pub
persistentVolumeClaim:
claimName: pub-files
- name: pubkey
secret:
secretName: pubkey
Content type
Image
Digest
Size
113.7 MB
Last updated
about 5 years ago
docker pull fj0rd/or