What's the utility of SSH in a hosting? [closed] - ssh

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Can anyone explain to me in layman what's SSH (Secure Shell) in a shared hosting?
I know you can access the web hosting server remotely using a command line interface using an application like Putty. But does it give you have more access to the server or it's another way of creating directories or uploading files and stuff like that? Or you can install extensions or do more advanced things?
Thanks.

Depends on the restriction the host sets, but it often lets you run command line utilities, often used for things like batch processing files, changing file permissions, etc.
In other words, SSH gives you access to do most things you'd be able to do if you were logged in to the machine locally (without root access).

It is just a security layer that encrypts all data flowing to and from the server so other people can't read it's contents. This is especially useful if you are dealing with sensitive information.

Related

Web server running python. [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I want to create a web server that I can accesses over the internet (not just locally) and can run and execute python scripts. These scripts will be doing some querying on .db files and returning processed query results. I want to be able to run POST and GET methods on my web server. How should I go about doing this? This is for a school project. From my research, I would need a dedicated computer to be my web server and I don't have those resources.
Thank you.
I would recommend Flask. It will work as a simple web server that let's you run POST and GET against it as well as serving pages. Since it is a Python application, running Python scripts are just part of the code.
In addition to it accomplishing what you want, you could run this on just about any computer you could load Python on (Windows, Linux, Mac, Raspberry PI) thus eliminating the requirement for a dedicated computer.
http://flask.pocoo.org

SFTP through ssh node [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 8 years ago.
Improve this question
I'm trying to set up an sftp on a networked server. I can access the machine through the outside world by first ssh'ing into a network login server through the following process:
ssh [network-username]#login.server.co.uk
then, once logged in
ssh [server-username]#[hostname]
Is there anyway to sftp into the networked server? I cant find a way to add the initial step into the login process.
Thanks!
You have not specified what SFTP client you are using.
In general, some SFTP clients DO allow SSH tunneling.
WinSCP for instance.
See Connect to FTP/SFTP server which can be accessed via another server only.
OpenSSH suite allows that too.
For example see Forward SSH traffic through a middle machine.
(I'm the author of WinSCP)

Download FTP data using SSH [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I need to transfer files from one server to the other. Normally I just download the files and then upload em to the new server using FTP.
Now I am facing a gazillion files with over 15GB data. Is it possible to download em directly from the new server, thereby skipping a step? I have full control over the second server, but just FTP rights on the old server.
Thanks
You could use wget on the new server to download the data from the old server. Something like
$ wget -r -N -l inf 'ftp://old.example.com/'
should do it. Consult the man page if you need anything more specific; wget is quite powerful.
Alternatively, FTP can be directly used to transfer from server to server. Since FTP uses separate control and data connections, the data connection can be established to a different host than that from which the control connection originates. This is done by switching one of the servers into passive mode. I think that SecureFX supports that mode of operation by opening connections to both servers and dragging-and-dropping files between them. However, I don't know if there is any free software that can do that.
If you have commandline access via SSH to your new server, just open a session on the new server and within that session do an FTP "mget" from the old server.
There is a summary of commandline FTP here: http://www.cyberciti.biz/faq/linux-unix-ftp-commands/

Working live at Server / SSH [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've inherited a website to build. I've just come to realization that the website's server is not typical to what I've always worked with; EG - I usually create an FTP with the hosting account and work live at http://www.mycoolclients.com/dev/index.html
I've found that I must connect using; SSH. I have little direct server experience. I'm told I need to work with linux or download something like 'putty'. How do I connect to work live at this situation?
Use sftp instead of ftp.
Learning how to use ssh would definitely be valuable as it's widely used and extremely useful, but in the immediate you can just use sftp for anything that you previously used ftp for. sftp will give you the same interface as ftp, but connects via ssh.
You didn't mention what ftp software you use, but many also support connecting via sftp.

Allow SSH for a Hosting Customer on VPS Server? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a VPS server and a client is asking for SSH access on their hosting account.
I can allow this through the user setup for that particular account but will they be able to admin the entire server then?
I am worried their developer might start installing modules and break my other clients' sites.
Does your VPS come with any control panel ? If so, its usually safe to allow SSH access. However, here is what I would do.
Find out why the client wants SSH access. This is not a conclusive method but would give you a chance to provide alternative solutions if you are uncomfortable enabling SSH access. Note that a lot of hosting service providers, small and large, do not allow SSH access (atleast not without making it so hard that the casual client refrains from asking).
For your mental comfort, create a SSH account for yourself and login with SSH access. Try to see what you can do beyond that specific account. If your test SSH access does not allow you any access beyond that test account, you know that the other guy cant do much either.
you can allow your client to access SSH. It will not create any problem for othersites which is in the same server. As you are giving them only the user account they can not execute root commands. However if the client want to install any modules they need the root authentication.