In Browser SSH client [closed] - ssh

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I had the idea for an in-browser ssh client, but i couldnt find any detailed explanation on how to write a SSH client. I tried looking it up but i couldnt find anything(Most results were about Putty or rankings of clients).
One idea would be to write an express app on the server that just executes the command it gets by the URL paramater or something else, but
it wouldnt be very secure i guess
i got curious
I think it works similarly to a websocket. First you send a normal http request or something and then you try to "upgrade" the request to a ssh tunnel
How does http/ssh protocol work? couldnt help
Edit:
Any Keywords or links to articles about how to code your own SSH Client or server would help
Thanks

You may just tunnel your ssh connection through Web Socket.
The problems are how you build the functionality of ssh client if you want ssh connections start from local users.
To develop the client in browser(meanwhile in a site), the most works can only be done by JavaScript.
However, because of secure problems, JavaScript has lots of limits in contrast with normal local programs.
The another way you provide that execute commands on server is surely easy to do, but the problem is : how can I trust the web application and the server as I need to provide my private information?
If I can use mature ssh technology to 100% ensure my security, how do we make people believe that the ssh web application is totally safe and willing to use it?

Related

Can I use a wifi router to connect a client computer software to another local computer without connecting the router to an internet connection? [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 9 years ago.
Improve this question
good day, may I ask if anyone knows if it's possible to connect two or three computers through a wifi router? It's hard to put it in one sentence so in detailed explanation, I would be making a software (java) in a main computer (I'll call it the server), another computer would then access the server through a client/server type of setup. Basically the computer (connected to the same wifi hot spot as the server) would access the software on the server either through php/jsp and utilize that software in an office setup wherein all the centralized data on the server is accessible to the connecting computer. I would put in a log-in screen first as standard practice to protect access to the server. I was hoping to ask if this is possible (since it's the same setup as using a LAN/wired connection in an office). If it's possible I'll try to research on how to do it (I heard I'll have to read more on sockets programming for this). If you need more detail on the scenario I would gladly provide it. Thank you for answers in advance.
*my next development goal would be to connect the server through a dial-up modem to connect to a remote computer connected to a dial-up modem as well. I'm trying to avoid internet connectivity to increase security problems and to make it more exclusive. Then maybe connect a couple of android tablets as well that is connected to the server for portability. so that would be around 2-3 computers connected to the server and a few portable tablets accessing the data. it would be great if anyone could point me in the direction for the first few steps on connecting the computer to the servers as well... right now I've already developed a java software that is working but it's only on the server and not connected to any router/computer at the moment.
Thanks again.
Yes, this is all perfectly possible. Your question however is in the wrong exchange. Stackoverflow is more for actual programming issues.

Dynamically Create/Read/Update/Delete IP adress in ACL using a web application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am trying to create an ACL (Access Control List) to block or allow mallicious webtraffic in the web application.
Is there a way to dynamically update the ACL (of a router, firewall, IIS, Apache webserver or Windows server) through a web application programming language like ASP.NET, PHP or any web application programming language at all?
I want to be able to dynamically make a deciscion to block ip address via the web application.
If you use older versions of IIS, you can give this a shot.
If you are on IIS 7, you should try to make use of the Dynamic IP Restrictions (DIPR) module for IIS 7.0. It provides protection against DoS and brute force attacks. DIPR automatically tracks the IPs and you don't have to do that yourself. Check this out.
If you still want to take matters into your own hand, you can look at using the IP restrictions feature settings. This basically changes the section system.webServer/security/ipSecurity in the ApplicationHost.config file, which you can programmatically do. Take a look at this. I have not tried this. So, cannot tell you this will work for sure but it is worth giving a shot at. You can always test and see if it works.

What's the utility of SSH in a hosting? [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
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.

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.