current location:Home > Technical Articles > Operation and Maintenance
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Detailed explanation of Ubuntu server SSH security hardening strategy development process and reminders
- As an open source operating system, Ubuntu is widely used in the server field, and SSH (SecureShell), as a network protocol for remote management of servers, is one of the indispensable components of the Ubuntu server. Due to the openness of SSH The flexibility and powerful functions also bring potential risks to the security of the server. In order to protect the security of the Ubuntu server, a set of SSH security hardening strategies needs to be developed. Before formulating an SSH security hardening strategy, you first need to understand the working principle of SSH. SSH uses encryption and authentication technology to achieve secure remote access. Understanding the working principle of SSH will help with subsequent policy formulation and configuration. Different servers have different security requirements, so
- LINUX . ssh 449 2024-02-09 16:27:18
-
- Detailed steps to install lrzsz and lsof under CentOS
- The LINUX operating system is an open source, free operating system that is widely used in servers and personal computers. CentOS is built based on the Red Hat Enterprise Linux (RHEL) source code and is a very popular Linux distribution. In CentOS, We often need to install some additional software packages to meet specific needs. This article will introduce how to install two commonly used software packages, lrzsz and lsof, in CentOS. Install lrzsz lrzsz is a tool for file transfer in Linux and UNIX systems. It can transfer files through serial port, Telnet and SSH. The following is in CentOS
- LINUX . ssh 1142 2024-02-09 15:57:20
-
- How to get connection string for authentication callback in SSH in golang?
- My server configuration code is: serverConfig:=ssh.ServerConfig{PublicKeyCallback:func(cssh.ConnMetadata,pubKeyssh.PublicKey)(*ssh.Permissions,error){...}} I use ssh://user@host: Something like port/path starts an ssh connection. How to get p of ssh connection string in this callback or any other callback that can check user key/password
- Golang . ssh 1017 2024-02-09 15:40:08
-
- How to log out other SSH users in Linux
- Today we will briefly introduce how to kick out other users connected to the system through ssh. PixelatedwordLinuxmadefromcubes,mosaicpattern If you log in to a remote Linux system through ssh, you only need to use the exit command to exit ssh. So, what if you want to log out other users who are logged in to the system through ssh? Log out user in ssh session First, check the list of logged in users in your Linux system. There are many ways to achieve this, here we use the who command, along with the -u option, which will display the process ID of the shell session logged into the system: who -u The output will look like this: root
- LINUX . ssh 1320 2024-02-09 15:03:22
-
- SSH agent, wrong packet length
- Implementing ssh proxy in go, getting error due to wrong packet length, these are the errors for ssh in debug mode: debug1:ssh2_msg_kexinitsentbadpacketlength1231976033.ssh_dispatch_run_fatal:connectionto::1port8080:messageauthenticationcodeincorrect code: funchandleSSH(connnet.Conn,r*bufio.Reader ,prot
- Golang . ssh 908 2024-02-09 14:00:36
-
- How to securely transfer files via ssh using scp command under Linux
- On Unix or Linux operating systems, the scp utility (securecopy) is similar to the better-known command cp, but is used to transfer files and directories between hosts over a secure, encrypted network. Since it relies on ssh for data transfer, it provides the same security and uses the same authentication as ssh. Unlike rcp, the scp command will prompt you for a password for authentication if required. In this article, we will delve into secure file transfer in Linux and learn how to use the scp command. With detailed explanations and example use cases of common scp switches and options, you'll learn how to use this utility. It's important to know the following before you start since scp relies on s
- LINUX . ssh 888 2024-02-09 13:39:30
-
- The use and configuration of SSH in Linux: a powerful tool for remote control and file transfer
- SSH is a network protocol that provides a secure, encrypted connection over an unsecured network, allowing you to remotely control, transfer files, or forward other applications. You can even run graphical X11 applications at remote locations via SSH. SSH is one of the essential skills for Linux users. It allows you to easily manage servers, deploy code or access resources. In this article, we will introduce the basic usage, options and configuration methods of SSH in Linux to help you master the powerful functions of SSH. 1. OpenSSH is probably the most popular SSH client under Linux. OpenSSH is installed by default on most Linux distributions. It's open source, free to use and versatile. Op
- LINUX . ssh 866 2024-02-09 12:50:24
-
- How can I have a Golang script modify values in a Terraform (HCL format) file?
- I'm trying to do a small amount of automation on a terraform file I have that defines an azure network security group. Essentially, I have a website and ssh access and I only want to allow my public ip address, which I can get from icanhazip.com. I wish to use a golang script to write my ip to the relevant part of the .tf file (essentially setting the value of security_rule.source_address_prefixes). I'm trying to use hclsimple library in golang and tried gohcl, hclwrite etc. but essentially I'm
- Golang . ssh 911 2024-02-09 12:06:28
-
- Import go project from private gilab repository using ssh: unknown revision
- I'm trying to use ssh to import a go project from a private and self-hosted gitlab repository. When I try to do this I get the following error. output kbacon@kbacons-macbook-probbz%goget-xgitlab.wtf.notworking/bbq/tools@latest#gethttps://gitlab.wtf.notworking/bbq/tools?go-get=1#gethttps://gitlab.wtf .notworking/bbq/tools?go-get=1:20
- Golang . ssh 1049 2024-02-09 11:24:08
-
- How to deploy Go web application to server?
- This is a very noob question, so please understand and take this into consideration. I have a basic goweb application and a server running Ubuntu 22.04 with a domain name I purchased from my hosting provider. They also installed the ISPManager control panel there. But the control panel doesn't provide a way (as far as I know) to host Go applications there, mostly just PHP and python. I don't have any knowledge about web servers like Apache or Nginx, but I know some LinuxCLI and I have written web applications myself. I can also connect to the server via SSH
- Golang . ssh 528 2024-02-09 08:54:09
-
- What is the best way to get Docker container logs into Elasticsearch?
- I have a go application running in a container that does a lot of logging: log.Println("Somethinghappened!") Since I can ssh to the server it's running on, I can do dockerlogs -f[id] to see stderr Output, it's all good. But now I want the logs to go into elasticsearch. What's the best approach? I've seen a lot of complicated methods. One way is to use gelf logging format and logstash, but the only gogelf formatter I can find is very old. Or log to a file and use file
- Golang . ssh 561 2024-02-08 22:00:39
-
- How to check IP address conflicts 'Detailed introduction: Methods to detect IP address conflicts'
- In the Linux system, no relevant functions are provided. If the local network uses a static IP address configuration and strange network connection problems occur, such as ssh connection reset, you can consider checking whether there is an IP address conflict. The arping command provides the function of detecting address conflicts. arping command The arping command is a tool used to send arp requests to a neighboring host. arping uses arp packets to check the hardware address on the device through the ping command. Ability to test whether an IP address is already in use on the network and obtain more device information. The function is similar to the pingarping command, which is a tool used to send ARP requests to a neighboring host.
- Mobile Application . ssh 2220 2024-02-07 10:20:31
-
- Super powerful! 6 Ultimate SSH Clients for Linux
- SecureShell (SSH) is a network connection protocol that allows users to remotely control computers over the network. To use SSH on Linux, you need to install an SSH client. Here are several popular Linux SSH clients for you to choose from: OpenSSH OpenSSH is probably the most popular SSH client under Linux, and it is installed by default on most Linux distributions. OpenSSH is open source, free to use, and comes with a variety of features. In addition to Linux, OpenSSH is also available for other operating system platforms such as Windows, macOS, and BSD. OpenSSH is simple and easy to use. it
- LINUX . ssh 1266 2024-02-05 19:42:02
-
- win10 import language pack
- The new version of Windows 10 system comes with openssh client support, which can well support git and applications that require ssh login. This article explains in detail the issues of git installation and github code cloning that are commonly used by everyone. Software that needs to be prepared gitforwindowsGit-2.37.3-64-bit.exeTortoiseGitTortoiseGit-2.13.0.1-64bit.msiTortoiseGit Chinese Language Pack TortoiseGit-LanguagePack-2.13.0.0-64bit-zh_CN.msi Software required for software installation First install gitf
- Computer Knowledge . ssh 985 2024-02-05 17:50:48
-
- The core dump target has not been configured and the host core dump cannot be saved
- When running Esxcli commands, VMWare users may receive a warning that the core dump target is not configured and therefore the host core dump cannot be saved. This issue was discovered after updating the console version. In this article, we will discuss this issue and provide solutions. Fix No core dump target has been configured, Host core dumps cannot be saved. If the "Nocoredump target has been configured, Host coredumps Cannot save in VMWare" message appears while running Esxcli commands or making certain changes to the disk, then follow the below mentioned solutions to resolve the issue. Create Dump File for ESXi Host Enable c on USB
- Computer Knowledge . ssh 1679 2024-02-05 12:30:22