Accessing Samba share through Raspberry Pi SSH [closed] - ssh

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a raspberry Pi at home that I can access over the internet using SSH (using only key authentication), which is behind a TP-Link router. This router has a hard drive attached to it, which I can access as a samba share locally using the router's IP address.
I would like to access this hard drive when I'm away from home, but I don't want to expose my samba share to the internet (needless to say why). Is there a way I can access it securely through my Raspberry Pi's SSH server ?

I am not 100% sure, if this is what you want. But what you can do:
Mount your router drive via samba to your RPi's mount point.
Access your PRi via sshfs.
http://en.wikipedia.org/wiki/SSHFS
Works for me like a charm. I found that using sshfs is much easier than nfs or samba under Linux. This solution definitely works when you access your RPi under Linux. Windows -> RPi, or Mac -> RPi.... perhaps, I don't know. I think there are sshfs solutions, but I don't know how stable or usable they are.

Related

What password should I enter for SSH? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying to learn how to use SSH and it's kinda hard for me. I installed PuTTY (windows 7 32-bit). It asked for my IP so I searched 'What is my ip' and pasted it in. Then in the 'command prompt style box' I entered my username 'dell'. Now it's asking for password. I'm really confused because my laptop has no password and there's no password I know of. Can you guys help?
Entering nothing doesn't work:
Putty is just a command line interface, that will allow you to run commands like ssh.
However, if you want to SSH into your machine you have to install an SSH server on your machine.
There are multiple solution on the web:
https://www.howtogeek.com/howto/41560/how-to-get-ssh-command-line-access-to-windows-7-using-cygwin/
122.162.179.255 is likely the IP address of your network router / ADSL modem / etc and not your Windows PC (which won't have an SSH server installed by default).
There really is very little to learn about SSH itself, at least for basic day to day use.
If you want to learn how to use a UNIX-style command prompt then consider installing WSL or setting up a Linux installation on a separate computer (maybe a Raspberry Pi).

How to make local home network on Ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
so I wanna be able to access my files on my Ubuntu 18.04 LTS machine from my other windows machine by typing its local IP address like this image
but I don't know how to setup apache to display the folders I want, all I'm getting when I type my IP address in the other machine is the apache Ubuntu default page, so how can I make this.
thanks in advance.
To access file system on remote server you can use SFTP to transfer file between systems.
Download Winscp : https://winscp.net/eng/download.php
Type your local ip address including username and password into setup then you can access your remote folders.

how to connect raspbian strech over SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I just upgraded the ssd card to 2018-11-13-raspbian-stretch-lite. Hence, no screen, no keyboard, just headless. With the version before I used SSH to acess the raspberrypi 3. But now i have trouble. SSH is disabled by default. Could be overcome by writing an empty file named ssh into / . Fine, should be easy, but it isn't. I tried to mount the ssd-card in a card reader from a linux computer. This would allow to write the required empty file with cat /dev/null > /mnt/rasp/ssh , but it doesn't work, because the device is mounted read only indepent of how I try to mount for read-write!
Has anybody an Idea how to open the ssh, maybe over USB-Telnet, or what ever?
You have to create a file called ssh in the boot partition, not the root partition.
You can also create a file called wpa_supplicant in the same place and your RasPi will join your wifi network.
You'll probably be able to ssh into it with:
ssh pi#raspberrypi.local
If not, look in your router's "DHCP clients" table or use nmap to get its IP address. Or install the fing app in your smartphone and it'll tell you the IP addresses and host/OS of all your network clients.

Remotely accessing the host using SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am working on a project and for that project I need a software which is on my university server. Before I was working in my laboratory. Due to some personal reason I had to leave the country. Before leaving I setup SSH and VNC on my host computer which is a linux machine with Centos distribution. After I left the country I used to access my host computer from my home country using putty and VNC viewer. Yesterday when I tried to SSH onto my host I got this Error: " Software caused connection abort". I asked the system administrator in my university and he told me that SSH is blocked for outside the country. The only solution for you is to be inside the university network first and then access the host using putty and VNC.
Can someone please walk me through how can I do this.
You will probably need to use a VPN that is located within the same country. That way the university servers think you are logging in from within the country.
For example, I am in Brazil, but when I use my US VPN most websites see me as coming from the US.
Hi I think you need to find a host in your university country and connect to that host first. Then login in to your university laboratory via that host.

Time Machine over Samba [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Currently running osx 10.8.2
Have an external network drive attached to my rt-n66u router running tomato
I'm trying to use tmutil to connect my external network drive, and am having a lot of trouble.
I mount the drives in Finder
Run sudo tmutil setdestination /Volumes/external, and get Incompatible file system type: smbfs (error 45)
Any ideas? :(
I can't answer your question specifically aside from telling you that timemachine backups on samba shares are not supported officially. As a consequence, even if you will be able to backup your data on a samba share (as far as I know lots of people have issues to do so), you will run into trouble during a restore procedure. If you would try to restore your data by booting an OS X livecd you couldn't because it doesn't have a samba client installed in order to connect to a samba share. The next step would be to try to connect the backup drive directly to your Mac to access your data. Chances are this would also fail because the harddrive was formatted with a linux filesystem which is not supported by OS X.
So the best thing you could do is to install netatalk (afpd) on that router box if it is possible at all.