Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by Wilson Edwards
at 2025-07-30 17:55:12
Point:500 Replies:3 POST_ID:829373USER_ID:12108
Topic:
curl;wget;ssh
as title
Author: Wilson Edwards replied at 2025-08-05 10:23:46
if use cat , it may create file too big issue
better use this
dd of=/dev/sda|pv|gizp| ssh root@ip "dd of=your.gz"
Expert: test test replied at 2025-08-02 21:46:21
for ssh with password on line, u can use sshpass
1-apt update
2-apt install sshpass
3-sshpass -p 'yourpassword' ssh name@ip 'cat file' |pv| gzip -d| dd of=/dev/sda
Accepted Solution
Author: Wilson Edwards replied at 2025-07-30 18:04:14
500 points Excellent
if curl to https site not working, u can use wget -O - https://yoursite |gzip -d |dd of=/dev/sda //for exmaple
if curl not working with http,
Becoz https is not secure, so maybe create gzip error
so using ssh instead if your local server file site no any https, just have http only
if u put the image into your localhost on window 10 which just support http apache(not https)
service.msc start, OpenSSH, setup 192.168.1.1 portforwarding for port 22
then at your server, make this command, through Finnix rescue mode...
ssh username@61.23.13.12 "cat window.img.gz" |pv| gzip -d |/dd of=/dev/sda
that your local window.image will be sent to remoter server, then at install at its disk
now you can reboot the server with window.image, by set full virturalizationa dn direct disc
done.