Problems mounting and dumping to external storage (Mac) from dedicated server (Ubuntu)

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have set up a Kimsufi KS-4A - 16G i7-920 1x2TB Server, and been following this guide on how to create my own Windows template for Kimsufi. I have come to the last steps of the tutorial.
What I want to do at this point is to use Ubuntu 14.04.5 LTS, which I have mounted and running from an ISO on my server via Proxmox, to create and dump the Windows template (also on the same server) to my Mac computer as I don't have a second VPS or server.
When I do root@ubuntu:~# sudo sshfs root@84.211.114.77:/home /mnt/temp
I get the error read: Connection reset by peer. I have done root@ubuntu:~# mkdir /mnt/temp and root@ubuntu:~# apt-get install sshfs. I have also installed OSXFuse and SSHFS 2.5.0 on my Mac and enabled the root user. What can I do to make this work?
ubuntu ssh osx dd sshfs
add a comment |
up vote
1
down vote
favorite
I have set up a Kimsufi KS-4A - 16G i7-920 1x2TB Server, and been following this guide on how to create my own Windows template for Kimsufi. I have come to the last steps of the tutorial.
What I want to do at this point is to use Ubuntu 14.04.5 LTS, which I have mounted and running from an ISO on my server via Proxmox, to create and dump the Windows template (also on the same server) to my Mac computer as I don't have a second VPS or server.
When I do root@ubuntu:~# sudo sshfs root@84.211.114.77:/home /mnt/temp
I get the error read: Connection reset by peer. I have done root@ubuntu:~# mkdir /mnt/temp and root@ubuntu:~# apt-get install sshfs. I have also installed OSXFuse and SSHFS 2.5.0 on my Mac and enabled the root user. What can I do to make this work?
ubuntu ssh osx dd sshfs
Okay. I went into Terminal on my Mac's root user and did this:Bjorns-MacBook-Pro:~ root# apt-get install ssh-sh: apt-get: command not foundBjorns-MacBook-Pro:~ root# /etc/ssh/sshd_config-sh: /etc/ssh/sshd_config: Permission denied. Do I have to install macOS server in order for my Mac to be able to act as one? Bear in mind that I am a complete noob and may lack elementary understanding of what needs to be done beforehand in order for this to work. If it's too much of a hassle, I just ordered a web server with SSH-support, but still waiting for my domain to get transferred.
– Bjørn Martin Saastad
Apr 3 '17 at 22:06
Alright, I managed to figure it all out within a week, without knowing Linux at all. I borrowed a web server with SSH-support, and did thisuser@ubuntu:~# sudo -iroot@ubuntu:~# mkdir /mnt/temproot@ubuntu:~# apt-get install sshfsroot@ubuntu:~# ssh-keygen -t dsaeval $(ssh-agent)ssh-agent bashssh-add /root/.ssh/id_dsaapt-get install libgnome2-bingnome-open /root/.ssh/id_dsa.pub(to paste the key into the server)sudo sshfs username@xxx.xxx.xx:/home/xxx /mnt/temp -pxxxxx -o nonemptydd if=/dev/sda | gzip -1 | dd of=/mnt/temp/WindowsTemplate.gz. Thanks for nothing!
– Bjørn Martin Saastad
Apr 16 '17 at 1:38
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have set up a Kimsufi KS-4A - 16G i7-920 1x2TB Server, and been following this guide on how to create my own Windows template for Kimsufi. I have come to the last steps of the tutorial.
What I want to do at this point is to use Ubuntu 14.04.5 LTS, which I have mounted and running from an ISO on my server via Proxmox, to create and dump the Windows template (also on the same server) to my Mac computer as I don't have a second VPS or server.
When I do root@ubuntu:~# sudo sshfs root@84.211.114.77:/home /mnt/temp
I get the error read: Connection reset by peer. I have done root@ubuntu:~# mkdir /mnt/temp and root@ubuntu:~# apt-get install sshfs. I have also installed OSXFuse and SSHFS 2.5.0 on my Mac and enabled the root user. What can I do to make this work?
ubuntu ssh osx dd sshfs
I have set up a Kimsufi KS-4A - 16G i7-920 1x2TB Server, and been following this guide on how to create my own Windows template for Kimsufi. I have come to the last steps of the tutorial.
What I want to do at this point is to use Ubuntu 14.04.5 LTS, which I have mounted and running from an ISO on my server via Proxmox, to create and dump the Windows template (also on the same server) to my Mac computer as I don't have a second VPS or server.
When I do root@ubuntu:~# sudo sshfs root@84.211.114.77:/home /mnt/temp
I get the error read: Connection reset by peer. I have done root@ubuntu:~# mkdir /mnt/temp and root@ubuntu:~# apt-get install sshfs. I have also installed OSXFuse and SSHFS 2.5.0 on my Mac and enabled the root user. What can I do to make this work?
ubuntu ssh osx dd sshfs
ubuntu ssh osx dd sshfs
edited Dec 7 at 23:41
Rui F Ribeiro
38.7k1479128
38.7k1479128
asked Apr 3 '17 at 19:35
Bjørn Martin Saastad
63
63
Okay. I went into Terminal on my Mac's root user and did this:Bjorns-MacBook-Pro:~ root# apt-get install ssh-sh: apt-get: command not foundBjorns-MacBook-Pro:~ root# /etc/ssh/sshd_config-sh: /etc/ssh/sshd_config: Permission denied. Do I have to install macOS server in order for my Mac to be able to act as one? Bear in mind that I am a complete noob and may lack elementary understanding of what needs to be done beforehand in order for this to work. If it's too much of a hassle, I just ordered a web server with SSH-support, but still waiting for my domain to get transferred.
– Bjørn Martin Saastad
Apr 3 '17 at 22:06
Alright, I managed to figure it all out within a week, without knowing Linux at all. I borrowed a web server with SSH-support, and did thisuser@ubuntu:~# sudo -iroot@ubuntu:~# mkdir /mnt/temproot@ubuntu:~# apt-get install sshfsroot@ubuntu:~# ssh-keygen -t dsaeval $(ssh-agent)ssh-agent bashssh-add /root/.ssh/id_dsaapt-get install libgnome2-bingnome-open /root/.ssh/id_dsa.pub(to paste the key into the server)sudo sshfs username@xxx.xxx.xx:/home/xxx /mnt/temp -pxxxxx -o nonemptydd if=/dev/sda | gzip -1 | dd of=/mnt/temp/WindowsTemplate.gz. Thanks for nothing!
– Bjørn Martin Saastad
Apr 16 '17 at 1:38
add a comment |
Okay. I went into Terminal on my Mac's root user and did this:Bjorns-MacBook-Pro:~ root# apt-get install ssh-sh: apt-get: command not foundBjorns-MacBook-Pro:~ root# /etc/ssh/sshd_config-sh: /etc/ssh/sshd_config: Permission denied. Do I have to install macOS server in order for my Mac to be able to act as one? Bear in mind that I am a complete noob and may lack elementary understanding of what needs to be done beforehand in order for this to work. If it's too much of a hassle, I just ordered a web server with SSH-support, but still waiting for my domain to get transferred.
– Bjørn Martin Saastad
Apr 3 '17 at 22:06
Alright, I managed to figure it all out within a week, without knowing Linux at all. I borrowed a web server with SSH-support, and did thisuser@ubuntu:~# sudo -iroot@ubuntu:~# mkdir /mnt/temproot@ubuntu:~# apt-get install sshfsroot@ubuntu:~# ssh-keygen -t dsaeval $(ssh-agent)ssh-agent bashssh-add /root/.ssh/id_dsaapt-get install libgnome2-bingnome-open /root/.ssh/id_dsa.pub(to paste the key into the server)sudo sshfs username@xxx.xxx.xx:/home/xxx /mnt/temp -pxxxxx -o nonemptydd if=/dev/sda | gzip -1 | dd of=/mnt/temp/WindowsTemplate.gz. Thanks for nothing!
– Bjørn Martin Saastad
Apr 16 '17 at 1:38
Okay. I went into Terminal on my Mac's root user and did this:
Bjorns-MacBook-Pro:~ root# apt-get install ssh -sh: apt-get: command not found Bjorns-MacBook-Pro:~ root# /etc/ssh/sshd_config -sh: /etc/ssh/sshd_config: Permission denied. Do I have to install macOS server in order for my Mac to be able to act as one? Bear in mind that I am a complete noob and may lack elementary understanding of what needs to be done beforehand in order for this to work. If it's too much of a hassle, I just ordered a web server with SSH-support, but still waiting for my domain to get transferred.– Bjørn Martin Saastad
Apr 3 '17 at 22:06
Okay. I went into Terminal on my Mac's root user and did this:
Bjorns-MacBook-Pro:~ root# apt-get install ssh -sh: apt-get: command not found Bjorns-MacBook-Pro:~ root# /etc/ssh/sshd_config -sh: /etc/ssh/sshd_config: Permission denied. Do I have to install macOS server in order for my Mac to be able to act as one? Bear in mind that I am a complete noob and may lack elementary understanding of what needs to be done beforehand in order for this to work. If it's too much of a hassle, I just ordered a web server with SSH-support, but still waiting for my domain to get transferred.– Bjørn Martin Saastad
Apr 3 '17 at 22:06
Alright, I managed to figure it all out within a week, without knowing Linux at all. I borrowed a web server with SSH-support, and did this
user@ubuntu:~# sudo -i root@ubuntu:~# mkdir /mnt/temp root@ubuntu:~# apt-get install sshfs root@ubuntu:~# ssh-keygen -t dsa eval $(ssh-agent) ssh-agent bash ssh-add /root/.ssh/id_dsa apt-get install libgnome2-bin gnome-open /root/.ssh/id_dsa.pub (to paste the key into the server) sudo sshfs username@xxx.xxx.xx:/home/xxx /mnt/temp -pxxxxx -o nonempty dd if=/dev/sda | gzip -1 | dd of=/mnt/temp/WindowsTemplate.gz. Thanks for nothing!– Bjørn Martin Saastad
Apr 16 '17 at 1:38
Alright, I managed to figure it all out within a week, without knowing Linux at all. I borrowed a web server with SSH-support, and did this
user@ubuntu:~# sudo -i root@ubuntu:~# mkdir /mnt/temp root@ubuntu:~# apt-get install sshfs root@ubuntu:~# ssh-keygen -t dsa eval $(ssh-agent) ssh-agent bash ssh-add /root/.ssh/id_dsa apt-get install libgnome2-bin gnome-open /root/.ssh/id_dsa.pub (to paste the key into the server) sudo sshfs username@xxx.xxx.xx:/home/xxx /mnt/temp -pxxxxx -o nonempty dd if=/dev/sda | gzip -1 | dd of=/mnt/temp/WindowsTemplate.gz. Thanks for nothing!– Bjørn Martin Saastad
Apr 16 '17 at 1:38
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f355678%2fproblems-mounting-and-dumping-to-external-storage-mac-from-dedicated-server-u%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f355678%2fproblems-mounting-and-dumping-to-external-storage-mac-from-dedicated-server-u%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Okay. I went into Terminal on my Mac's root user and did this:
Bjorns-MacBook-Pro:~ root# apt-get install ssh-sh: apt-get: command not foundBjorns-MacBook-Pro:~ root# /etc/ssh/sshd_config-sh: /etc/ssh/sshd_config: Permission denied. Do I have to install macOS server in order for my Mac to be able to act as one? Bear in mind that I am a complete noob and may lack elementary understanding of what needs to be done beforehand in order for this to work. If it's too much of a hassle, I just ordered a web server with SSH-support, but still waiting for my domain to get transferred.– Bjørn Martin Saastad
Apr 3 '17 at 22:06
Alright, I managed to figure it all out within a week, without knowing Linux at all. I borrowed a web server with SSH-support, and did this
user@ubuntu:~# sudo -iroot@ubuntu:~# mkdir /mnt/temproot@ubuntu:~# apt-get install sshfsroot@ubuntu:~# ssh-keygen -t dsaeval $(ssh-agent)ssh-agent bashssh-add /root/.ssh/id_dsaapt-get install libgnome2-bingnome-open /root/.ssh/id_dsa.pub(to paste the key into the server)sudo sshfs username@xxx.xxx.xx:/home/xxx /mnt/temp -pxxxxx -o nonemptydd if=/dev/sda | gzip -1 | dd of=/mnt/temp/WindowsTemplate.gz. Thanks for nothing!– Bjørn Martin Saastad
Apr 16 '17 at 1:38