Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for xsftp (0.01 sec)

  1. cmd/sftp-server.go

    func (s *sftpLogger) Info(tag xsftp.LogType, msg string) {
    	logger.Info(msg)
    }
    
    func (s *sftpLogger) Error(tag xsftp.LogType, err error) {
    	switch tag {
    	case xsftp.AcceptNetworkError:
    		sftpLogOnceIf(context.Background(), err, "accept-limit-sftp")
    	case xsftp.AcceptChannelError:
    		sftpLogOnceIf(context.Background(), err, "accept-channel-sftp")
    	case xsftp.SSHKeyExchangeError:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    	}
    }
    
    func (m *sftpMetrics) log(s *sftp.Request, user string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err, sz))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    // - sftp.Fileread
    // - sftp.Filewrite
    // - sftp.Filelist
    // - sftp.Filecmd
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. cmd/sftp-server_test.go

    	defer cancel()
    
    	// we need to do this so that the user has a policy before authentication.
    	// ldap user accounts without policies are denied access in sftp.
    	policy := "mypolicy"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. docs/ftp/README.md

    ...
    ```
    
    
    Following example shows connecting via sftp client using `minioadmin` credentials, and list a bucket named `runner`:
    
    ```
    sftp -P 8022 minioadmin@localhost
    minioadmin@localhost's password:
    Connected to localhost.
    sftp> ls runner/
    chunkdocs  testdir
    ```
    
    Following example shows how to download an object locally via `sftp` client:
    
    ```
    sftp> get runner/chunkdocs/metadata metadata
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/config/server.go

    type Opts struct {
    	FTP struct {
    		Address          string `yaml:"address"`
    		PassivePortRange string `yaml:"passive-port-range"`
    	} `yaml:"ftp"`
    	SFTP struct {
    		Address       string `yaml:"address"`
    		SSHPrivateKey string `yaml:"ssh-private-key"`
    	} `yaml:"sftp"`
    }
    
    // ServerConfigVersion struct is used to extract the version
    type ServerConfigVersion struct {
    	Version string `yaml:"version"`
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. cmd/server-main.go

    	}
    
    	if cf.Options.SFTP.Address != "" {
    		ctxt.SFTP = append(ctxt.SFTP, fmt.Sprintf("address=%s", cf.Options.SFTP.Address))
    	}
    	if cf.Options.SFTP.SSHPrivateKey != "" {
    		ctxt.SFTP = append(ctxt.SFTP, fmt.Sprintf("ssh-private-key=%s", cf.Options.SFTP.SSHPrivateKey))
    	}
    }
    
    func mergeServerCtxtFromConfigFile(configFile string, ctxt *serverCtxt) error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  7. docs/distributed/CONFIG.md

          - "https://server4-pool2:9000/mnt/disk{1...4}/"
      # more args
    
    options:
      ftp: # settings for MinIO to act as an ftp server
        address: ":8021"
        passive-port-range: "30000-40000"
      sftp: # settings for MinIO to act as an sftp server
        address: ":8022"
        ssh-private-key: "/home/user/.ssh/id_rsa"
    ```
    
    If you are using the config `v1` YAML you should migrate your `pools:` field values to the following format
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 25 02:30:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. cmd/typed-errors.go

    var errSessionPolicyTooLarge = errors.New("Session policy should not exceed 2048 characters")
    
    // error returned in SFTP when user used public key without certificate
    var errSftpPublicKeyWithoutCert = errors.New("public key authentication without certificate is not accepted")
    
    // error returned in SFTP when user used certificate which does not contain principal(s)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 5.9K bytes
    - Viewed (1)
  9. cmd/common-main.go

    		ctxt.MemLimit = mlimit
    	} else {
    		ctxt.MemLimit = memAvailable
    	}
    
    	if memAvailable < ctxt.MemLimit {
    		ctxt.MemLimit = memAvailable
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  10. cmd/globals.go

    	Addr, ConsoleAddr         string
    	ConfigDir, CertsDir       string
    	configDirSet, certsDirSet bool
    	Interface                 string
    
    	RootUser, RootPwd string
    
    	FTP  []string
    	SFTP []string
    
    	MemLimit uint64
    
    	UserTimeout         time.Duration
    	IdleTimeout         time.Duration
    	ReadHeaderTimeout   time.Duration
    	MaxIdleConnsPerHost int
    
    	SendBufSize, RecvBufSize int
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
Back to top